Less longer htst header

This commit is contained in:
Martin Mahner 2013-05-30 20:42:27 +00:00
parent 49edeecca0
commit 0530c8cb30

View file

@ -24,7 +24,7 @@ server {
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_de_unified.crt; ssl_certificate /srv/dpaste.de/var/ssl/dpaste_de_unified.crt;
ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_de.key; ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_de.key;
add_header Strict-Transport-Security max-age=31536000; add_header Strict-Transport-Security max-age=25200;
include /srv/dpaste.de/src/dpaste/server/nginx_server.conf; include /srv/dpaste.de/src/dpaste/server/nginx_server.conf;
} }
@ -36,7 +36,7 @@ server {
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt; ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt;
ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_org.key; ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_org.key;
add_header Strict-Transport-Security max-age=31536000; add_header Strict-Transport-Security max-age=25200;
include /srv/dpaste.de/src/dpaste/server/nginx_server.conf; include /srv/dpaste.de/src/dpaste/server/nginx_server.conf;
} }