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:
parent
05bb6f7ad4
commit
94c23e2f7d
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user