1
0
Fork 0

Allow Auth-User header to be set a REMOTE_USER Env var.

pull/23/head
Frédéric Pégé 9 years ago
parent adacce4ba1
commit 74431f1df3

@ -9,6 +9,7 @@ server {
} }
location ~ \.php$ { location ~ \.php$ {
fastcgi_param REMOTE_USER $HTTP_AUTH_USER;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;

Loading…
Cancel
Save