From 8bdd705dbbae66dce731a8246c556e075129cb74 Mon Sep 17 00:00:00 2001 From: Thomas LEBEAU Date: Tue, 17 Jun 2014 09:45:12 +0200 Subject: [PATCH] update nginx conf --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5285d50..5975b12 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,9 +17,10 @@ location PATHTOCHANGE { } location ~ \.php$ { - fastcgi_pass 127.0.0.1:9000; + fastcgi_split_path_info ^(.+.php)(/.+)$; + fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }