From efbc185ba0aac8524632c431916ee7eca2b240af Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 15 Jul 2026 11:10:22 +0000 Subject: [PATCH] nginx: Manifest mit korrektem MIME-Type application/manifest+json nginx-alpine mappt .webmanifest sonst auf octet-stream -> Chrome mag den PWA-Manifest-Type nicht sauber. Co-Authored-By: Claude Opus 4.8 --- deploy/nginx.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }