From: Ludovic CHEVALIER Date: Mon, 18 Apr 2016 14:19:21 +0000 (+0200) Subject: Correction : etc/nginx/site.d/lhc-wiklou/site.conf X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=c819716f6d45c705b7c651b24982ac22cf2b029d Correction : etc/nginx/site.d/lhc-wiklou/site.conf --- 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 ;