From 0530c8cb30c5adf83616c26d308d9003b2ec819f Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 30 May 2013 20:42:27 +0000 Subject: [PATCH] Less longer htst header --- server/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/nginx.conf b/server/nginx.conf index daadbbd..6b3f29e 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -24,7 +24,7 @@ server { ssl_certificate /srv/dpaste.de/var/ssl/dpaste_de_unified.crt; 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; } @@ -36,7 +36,7 @@ server { ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt; 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; }