etc/nginx: fix line endings and indentation

UNTESTED! TODO WIP etc.?
This commit is contained in:
Aminda Suomalainen 2023-10-19 09:27:55 +03:00
parent 05bb6f7ad4
commit 94c23e2f7d
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
5 changed files with 9 additions and 9 deletions

View File

@ -27,10 +27,10 @@ server {
ssl_prefer_server_ciphers on;
# Enable this if your want HSTS (recommended)
add_header Strict-Transport-Security
"max-age=15552000; includeSubdomains; preload";
"max-age=15552000; includeSubdomains; preload";
add_header X-Frame-Options SAMEORIGIN;
add_header Content-Security-Policy
upgrade-insecure-requests;
upgrade-insecure-requests;
add_header X-Xss-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
# OCSP Stapling ---

View File

@ -5,7 +5,7 @@ server {
listen [::]:443;
# Enable this if your want HSTS (recommended)
add_header Strict-Transport-Security
"max-age=15552000; includeSubdomains; preload";
"max-age=15552000; includeSubdomains; preload";
add_header X-Frame-Options SAMEORIGIN;
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Xss-Protection "1; mode=block" always;

View File

@ -6,7 +6,7 @@ server {
listen [::]:443;
# Enable this if your want HSTS (recommended)
add_header Strict-Transport-Security
"max-age=15552000; includeSubdomains; preload";
"max-age=15552000; includeSubdomains; preload";
add_header X-Frame-Options SAMEORIGIN;
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Xss-Protection "1; mode=block" always;