mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
nginx/host: enable HSTS
This commit is contained in:
parent
8e433e3660
commit
cbbd9dcf2c
@ -31,8 +31,7 @@ server {
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
# Enable this if your want HSTS (recommended)
|
||||
# HSTS = access only using HTTPS
|
||||
# add_header Strict-Transport-Security max-age=15768000;
|
||||
add_header Strict-Transport-Security max-age=15768000;
|
||||
|
||||
# OCSP Stapling ---
|
||||
# fetch OCSP records from URL in ssl_certificate and cache them
|
||||
|
Loading…
Reference in New Issue
Block a user