Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location ~ \.php$ {
- root /usr/share/nginx/html;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_Script_name;
- include /etc/nginx/fastcgi_params;
- }
- #
- # deny access to .htaccess files, if Apache's document root
- # concurs with nginx's one
- #
- #location ~ /\.ht {
- # deny all;
- #}
Add Comment
Please, Sign In to add comment