server { listen 80; server_name _; root /usr/share/nginx/html; index index.html; # Local deploy: never cache, so a rebuild is visible on reload. add_header Cache-Control "no-store" always; location / { try_files $uri $uri/ =404; } # Contact details: never indexed (the page also has a robots meta tag and is disallowed in robots.txt) location = /kontakt.html { add_header Cache-Control "no-store" always; add_header X-Robots-Tag "noindex, nofollow, noarchive, nosnippet" always; try_files $uri =404; } }