From c819716f6d45c705b7c651b24982ac22cf2b029d Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Mon, 18 Apr 2016 16:19:21 +0200 Subject: [PATCH] =?utf8?q?Correction=C2=A0:=20=20=20=20=20=20=20=20=20etc/?= =?utf8?q?nginx/site.d/lhc-wiklou/site.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/nginx/site.d/lhc-wiklou/site.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/site.d/lhc-wiklou/site.conf b/etc/nginx/site.d/lhc-wiklou/site.conf index 5ef383c..5af1074 100644 --- a/etc/nginx/site.d/lhc-wiklou/site.conf +++ b/etc/nginx/site.d/lhc-wiklou/site.conf @@ -8,9 +8,9 @@ client_max_body_size 10m; location / { # Do this inside of a location so it can be negated + rewrite ^/index.php/(.*)$ /wiki/$1 permanent; location ~ \.php$ { try_files $uri $uri/ =404; # Don't let php execute non-existent php files - rewrite ^/index.php/(.*)$ /wiki/$1 permanent; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/run/php5/fpm/lhc_wiklou; fastcgi_index index.php ; -- 2.20.1