nginx: enable Strict Transport Security

This commit is contained in:
Jimmy Zelinskie 2015-05-20 16:31:00 -04:00 committed by Joseph Schorr
parent f6fea27c12
commit 4f6234ea8f

View file

@ -10,8 +10,9 @@ http {
server {
include server-base.conf;
listen 443 default;
add_header Strict-Transport-Security "max-age=63072000; preload";
listen 443 default;
ssl on;
ssl_certificate ./stack/ssl.cert;
ssl_certificate_key ./stack/ssl.key;
@ -25,8 +26,9 @@ http {
include proxy-protocol.conf;
include server-base.conf;
listen 8443 default proxy_protocol;
add_header Strict-Transport-Security "max-age=63072000; preload";
listen 8443 default proxy_protocol;
ssl on;
ssl_certificate ./stack/ssl.cert;
ssl_certificate_key ./stack/ssl.key;