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; }