moved ssl_stapling to main config
This commit is contained in:
parent
b926014bdf
commit
be5a9d8b8e
2 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue