From a4f7e03c49991841b9cc73421d090c00a82b25c9 Mon Sep 17 00:00:00 2001 From: titoko titoko Date: Sun, 24 Nov 2013 18:54:30 +0100 Subject: [PATCH] fix conf files --- conf/config.php | 292 ++++++++++++++++++++++++------------------------ conf/nginx.conf | 12 +- 2 files changed, 157 insertions(+), 147 deletions(-) diff --git a/conf/config.php b/conf/config.php index 2f3ccd2..6cd6a74 100644 --- a/conf/config.php +++ b/conf/config.php @@ -1,190 +1,190 @@  diff --git a/conf/nginx.conf b/conf/nginx.conf index 479ec72..47e973e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,3 +1,13 @@ location PATHTOCHANGE { -alias ALIASTOCHANGE + alias ALIASTOCHANGE + index index.php; + try_files $uri $uri/ index.php; + location ~ [^/]\.php(/|$) { + fastcgi_split_path_info ^(.+?\.php)(/.*)$; + fastcgi_pass unix:/var/run/php5-fpm.sock; + fastcgi_index index.php; + include fastcgi_params; + fastcgi_param REMOTE_USER $remote_user; + fastcgi_param PATH_INFO $fastcgi_path_info; + } }