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
Modifications : etc/nsd3/zone.d/ptitvelo.net.zone.m4
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
ptitvelo-www
/
site.conf
diff --git
a/etc/nginx/site.d/ptitvelo-www/site.conf
b/etc/nginx/site.d/ptitvelo-www/site.conf
index
20bb326
..
9514137
100644
(file)
--- a/
etc/nginx/site.d/ptitvelo-www/site.conf
+++ b/
etc/nginx/site.d/ptitvelo-www/site.conf
@@
-1,5
+1,6
@@
server_name
ptitvelo.heureux-cyclage.org
server_name
ptitvelo.heureux-cyclage.org
+ devel.ptitvelo.net
www.ptitvelo.net
ptitvelo.net;
root /home/www/data/ptitvelo-www/www;
www.ptitvelo.net
ptitvelo.net;
root /home/www/data/ptitvelo-www/www;
@@
-19,4
+20,10
@@
location ~ \.php$ {
fastcgi_pass unix:/run/php5/fpm/ptitvelo_www;
}
fastcgi_pass unix:/run/php5/fpm/ptitvelo_www;
}
+error_page 404 = @spip;
+
+location @spip {
+ rewrite ^/(.*)(\.html)?$ /spip.php?url_propre=$1&$args last;
+}
+
# vim: ft=sh
# vim: ft=sh