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: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/%40%20%27entree_nom_pseudo_1%27%20=%3E%20%27%28Your%20name%20or%20alias%29%27%2C%20%27entree_nom_pseudo_2%27%20=%3E%20%27Name%20or%20alias%27%2C%20%27entree_nom_site%27%20=%3E%20%27Name%20of%20your%20site%27%2C-%27entree_nom_site_2%27%20=%3E%20%27Name%20of%20the%20author/%27s%20site%27%2C%20%27entree_nom_site_2%27%20=%3E%20%27Name%20of%20the%20author%C3%A2%C2%80%C2%99s%20site%27%2C%20%27entree_nouveau_passe%27%20=%3E%20%27New%20password%27%2C%20%27entree_passe_ldap%27%20=%3E%20%27Password%27%2C%20%27entree_port_annuaire%27%20=%3E%20%27Port%20number%20of%20the%20directory%27%2C%40%40%20-175%2C7%20%20175%2C7%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=c819716f6d45c705b7c651b24982ac22cf2b029d;p=lhc%2Fateliers.git 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 ;