diff --git a/deploy/nginx.conf b/deploy/nginx.conf index fd825d5..d94b8f7 100644 --- a/deploy/nginx.conf +++ b/deploy/nginx.conf @@ -10,8 +10,11 @@ server { add_header Referrer-Policy "no-referrer" always; # Service Worker & Manifest nie cachen -> App-Updates greifen sofort. - location = /sw.js { add_header Cache-Control "no-cache"; } - location = /manifest.webmanifest { add_header Cache-Control "no-cache"; } + location = /sw.js { add_header Cache-Control "no-cache"; } + location = /manifest.webmanifest { + default_type application/manifest+json; # nginx-alpine kennt .webmanifest nicht + add_header Cache-Control "no-cache"; + } # Entwickler-/Test-Artefakte (_-Präfix) niemals ausliefern. location ~ /_ { deny all; }