server { listen 80; listen [::]:80; server_name markemacht.test localhost; root /usr/share/nginx/html; index index.html; location / { try_files $uri $uri/ =404; } location /assets/ { expires 7d; add_header Cache-Control "public, immutable"; } add_header X-Content-Type-Options nosniff always; }