server_name
ptitvelo.heureux-cyclage.org
- www.ptitvelo.net
- ptitvelo.net;
+ devel.ptitvelo.net
+ www.ptitvelo.net;
root /home/www/data/ptitvelo-www/www;
index index.php;
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