1
0
mirror of https://gitea.blesmrt.net/mikaela/shell-things.git synced 2025-06-12 18:17:21 +02:00

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
etc/nginx/sites-enabled

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

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

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