server { listen 80; listen [::]:80; server_name monsite.fr; root /var/www/html/monsite; index index.php index.html; location / { try_files $uri $uri/ =404; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.3-fpm.sock; } }