Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $config = <<<EOI
- server {
- listen {$site->IP()->IP}:80;
- server_name {$hostname};
- root /data/userhomes/{$site->PathName};
- location / {
- index /nimbler_cms/sapphire/main.php;
- try_files \$uri /nimbler_cms\$uri /nimbler_cms/sapphire/main.php?url=\$request_uri&\$args;
- }
- location ~ globdat {
- allow <redacted>;
- deny all;
- }
- location = /_.gif {
- empty_gif;
- }
- location ~ \.php$ {
- fastcgi_pass 127.0.0.1:2100;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
- include fastcgi_params;
- }
- }
- EOI;
Add Comment
Please, Sign In to add comment