diff --git a/conf/nginx.conf b/conf/nginx.conf index 024d6fa..9a3aea1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,10 +8,10 @@ location PATHTOCHANGE { location ~ \.php$ { fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock; - fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; - fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_param REMOTE_USER $remote_user; # the http_auth plugin uses REMOTE_USER and not PHP_AUTH_USER include fastcgi_params; + fastcgi_param PATH_INFO $fastcgi_path_info; + fastcgi_param REMOTE_USER $remote_user; + fastcgi_param SCRIPT_FILENAME $request_filename; } }