server { listen 80; server_name localhost; root /usr/share/nginx/html; # Dev: never cache — live-bind-mounted files must reflect edits on reload. add_header Cache-Control "no-store, no-cache, must-revalidate" always; etag off; if_modified_since off; location / { autoindex on; autoindex_exact_size off; autoindex_localtime on; autoindex_format html; try_files $uri $uri/ =404; } index index.html index.htm; }