[enh] support nginx 1.6

This commit is contained in:
Julien Malik 2015-01-24 14:59:40 +01:00
parent 6aa36ca00a
commit 1a86cf202a

View file

@ -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;
}
}