mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +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;
|
ssl_prefer_server_ciphers on;
|
||||||
|
|
||||||
# Enable this if your want HSTS (recommended)
|
# 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 ---
|
# 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