mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
etc/nginx: fix line endings and indentation
UNTESTED! TODO WIP etc.?
This commit is contained in:
parent
05bb6f7ad4
commit
94c23e2f7d
@ -13,4 +13,4 @@ server {
|
||||
location / {
|
||||
proxy_pass http://[::1]:9050;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -47,4 +47,4 @@ server {
|
||||
#location ~ /\.ht {
|
||||
# deny all;
|
||||
#}
|
||||
}
|
||||
}
|
||||
|
@ -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 ---
|
||||
@ -84,4 +84,4 @@ server {
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
@ -17,4 +17,4 @@ server {
|
||||
location / {
|
||||
proxy_pass http://localhost:8080;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
@ -57,4 +57,4 @@ server {
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user