dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : etc/nginx/site.d/lhc-wiklou/site.conf
[lhc/ateliers.git]
/
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
(file)
--- 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
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
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 ;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php5/fpm/lhc_wiklou;
fastcgi_index index.php ;