server { listen 80 default_server; listen [::]:80 default_server; #root /var/www/html; root /media/floppy/noweb; # Add index.php to the list if you are using PHP index index.html index.htm index.nginx-debian.html; server_name _; error_page 404 /insert.html; location = /insert.html { root /var/www/static; internal; } location / { try_files $uri $uri/ =404; } location /static { alias /var/www/static; autoindex on; } }