server { listen 80; listen [::]:80; server_name example.org; root /var/www/examplesite; # Add index.php to the list if you are using PHP index index.html; location / { try_files $uri $uri/ =404; } #location ~ \.php$ { # include snippets/fastcgi-php.conf; # fastcgi_pass unix:/run/php/php7.4-fpm.sock; #} }