Remove duplicate nginx settings

This commit is contained in:
Andreas Zweili 2022-12-30 17:29:13 +01:00
parent 6cbcaf2d6c
commit b70697fda9
1 changed files with 0 additions and 5 deletions

View File

@ -21,11 +21,6 @@
commonHttpConfig = ''
# Add HSTS header with preloading to HTTPS requests.
# Adding this header to HTTP requests is discouraged
map $scheme $hsts_header {
https "max-age=63072000; includeSubdomains; preload";
}
add_header Strict-Transport-Security $hsts_header;
# Enable CSP for your services.
#add_header Content-Security-Policy "script-src 'self'; object-src 'none'; base-uri 'none';" always;