nginx: Sicherheitsheader greifen jetzt wirklich (add_header wird nicht in location vererbt)
This commit is contained in:
1 parent
3fe8d9c324
commit
8548f6a3af
3 files changed
+17
-20
No files matched your search
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user