From 0400c127995e49ff6aec1ef9d43cec5dab8ef241 Mon Sep 17 00:00:00 2001 From: lunarok Date: Thu, 7 Aug 2014 17:19:37 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index bd42599..fc44591 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -32,12 +32,13 @@ location PATHTOCHANGE { location ~ [^/]\.php(/|$) { - fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock; + fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; - fastcgi_param REMOTE_USER $remote_user; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param HTTPS on; + fastcgi_param REMOTE_USER $remote_user; + fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock; } # Include SSOWAT user panel. -- 2.0.0