server_name ptitvelo.heureux-cyclage.org www.ptitvelo.net ptitvelo.net; root /home/www/data/ptitvelo-www/www; client_body_buffer_size 8k; client_max_body_size 10m; location / { try_files $uri $uri/ /spip.php?q=$uri&$args; } location ~^/(tmp|config)/{ return 403; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/run/php5/fpm/ptitvelo_www; fastcgi_index index.php ; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } # vim: ft=sh