2 www.heureux-cyclage.org;
3 root /home/www/data/lhc-www/www;
6 client_body_buffer_size 8k;
7 client_max_body_size 10m;
9 location ~^/(tmp|config)/{
13 include /etc/nginx/conf.d/fastcgi.conf;
14 fastcgi_index index.php ;
15 fastcgi_param REDIRECT_STATUS 200;
16 fastcgi_split_path_info ^(.+\.php)(/.+)$;
18 fastcgi_pass unix:/run/php5/fpm/lhc_www;
20 error_page 404 = @spip;
23 rewrite ^/(.*)(\.html)?$ /spip.php?url_propre=$1&$args last;