Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## @fernandos
- location ~ \.php($|/) {
- set $script $uri;
- set $path_info "";
- if ($uri ~ "^(.+\.php)(/.+)") {
- set $script $1;
- set $path_info $2;
- }
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- include /etc/nginx/fastcgi_params;
- fastcgi_param URI $uri;
- fastcgi_param PATH_INFO $path_info;
- fastcgi_param SCRIPT_NAME $script;
- fastcgi_param SCRIPT_FILENAME /srv/www/blablabla.com/public_html$s$
- #fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- }
Add Comment
Please, Sign In to add comment