nginx: Sicherheitsheader greifen jetzt wirklich (add_header wird nicht in location vererbt)

This commit is contained in:
till committed 2026-09-15 12:26:08 +02:00
1 parent 916d4b7c7f
commit da781d9991
3 files changed
+17 -20

No files matched your search

+2 -1
View File
@@ -2,7 +2,8 @@ FROM nginx:1.27-alpine
# Static single-page app — no build step.
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY index.html impressum.html datenschutz.html legal.css manifest.webmanifest sw.js icon.svg /usr/share/nginx/html/
COPY security-headers.conf /etc/nginx/security-headers.conf
COPY index.html impressum.html datenschutz.html legal.css icon-mono.svg manifest.webmanifest sw.js icon.svg /usr/share/nginx/html/
COPY vendor/ /usr/share/nginx/html/vendor/
EXPOSE 80