server { listen 80; server_name domain.fr; access_log /var/log/nginx/domain.fr.access_log main; error_log /var/log/nginx/domain.fr.error_log info; index index.php; root /var/www/domain.fr; location ~ \.php$ { include /etc/nginx/fastcgi.conf; fastcgi_pass unix:/var/run/php-fpm.socket; fastcgi_param PHP_VALUE "include_path=.:/var/www/domain.fr/include"; } }