enable hsts
This commit is contained in:
parent
7489d19e41
commit
0668e5cda5
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ server {
|
|||
ssl_prefer_server_ciphers ${NGINX_SSL_PREFER_SERVER_CIPHERS};
|
||||
|
||||
# HSTS (ngx_http_headers_module is required) (63072000 seconds)
|
||||
#add_header Strict-Transport-Security ${NGINX_HEADER_STRICT_TRANSPORT_SECURITY};
|
||||
add_header Strict-Transport-Security ${NGINX_HEADER_STRICT_TRANSPORT_SECURITY};
|
||||
|
||||
# OCSP stapling
|
||||
ssl_stapling ${NGINX_SSL_STAPLING};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue