enable hsts

This commit is contained in:
Philip Henning 2024-11-19 15:52:33 +01:00
parent 7489d19e41
commit 0668e5cda5

View file

@ -64,7 +64,7 @@ server {
ssl_prefer_server_ciphers ${NGINX_SSL_PREFER_SERVER_CIPHERS}; ssl_prefer_server_ciphers ${NGINX_SSL_PREFER_SERVER_CIPHERS};
# HSTS (ngx_http_headers_module is required) (63072000 seconds) # 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 # OCSP stapling
ssl_stapling ${NGINX_SSL_STAPLING}; ssl_stapling ${NGINX_SSL_STAPLING};