moved ssl_stapling to main config

This commit is contained in:
nd 2020-04-16 22:55:35 +02:00
parent b926014bdf
commit be5a9d8b8e
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 3 additions and 5 deletions

View file

@ -8,9 +8,9 @@ ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD
ssl_prefer_server_ciphers on;
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
add_header Strict-Transport-Security "max-age=15768000";
add_header Strict-Transport-Security "max-age=15768000" always;
# OCSP Stapling ---
# fetch OCSP records from URL in ssl_certificate and cache them
#ssl_stapling on;
#ssl_stapling_verify on;
ssl_stapling_verify on;
ssl_stapling on;