change HSTS time to 6 months
This commit is contained in:
parent
2ae3fa2144
commit
fd17964781
@ -21,7 +21,7 @@ ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDS
|
|||||||
ssl_dhparam /certs/dhparam.pem;
|
ssl_dhparam /certs/dhparam.pem;
|
||||||
|
|
||||||
# HSTS (6 months = 15768000 seconds)
|
# HSTS (6 months = 15768000 seconds)
|
||||||
#add_header Strict-Transport-Security "max-age=63072000" always;
|
#add_header Strict-Transport-Security "max-age=15768000" always;
|
||||||
|
|
||||||
# OCSP Stapling
|
# OCSP Stapling
|
||||||
# fetch OCSP records from URL in ssl_certificate and cache them
|
# fetch OCSP records from URL in ssl_certificate and cache them
|
||||||
|
@ -18,7 +18,7 @@ ssl_protocols TLSv1.3;
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
# HSTS (6 months = 15768000 seconds)
|
# HSTS (6 months = 15768000 seconds)
|
||||||
#add_header Strict-Transport-Security "max-age=63072000" always;
|
#add_header Strict-Transport-Security "max-age=15768000" always;
|
||||||
|
|
||||||
# OCSP Stapling
|
# OCSP Stapling
|
||||||
# fetch OCSP records from URL in ssl_certificate and cache them
|
# fetch OCSP records from URL in ssl_certificate and cache them
|
||||||
|
Loading…
Reference in New Issue
Block a user