mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(reverse-proxy): 🐛 mv Strict-Transport-Security to location
This commit is contained in:
parent
e3152e6216
commit
871c175b8a
2 changed files with 4 additions and 2 deletions
3
reverse-proxy/loc-includes/ssl.conf
Normal file
3
reverse-proxy/loc-includes/ssl.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# https://ssl-config.mozilla.org/#server=nginx&config=intermediate&ocsp=false
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
|
||||
|
|
@ -10,9 +10,8 @@ ssl_protocols TLSv1.2 TLSv1.3;
|
|||
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
|
||||
|
||||
# https://support.cloudflare.com/hc/en-us/articles/204899617-Authenticated-Origin-Pulls
|
||||
|
||||
ssl_client_certificate /etc/nginx/cert/cloudflare.crt;
|
||||
ssl_verify_client on;
|
||||
ssl_verify_client on;
|
||||
Loading…
Reference in a new issue