From 2556e3fbc2b39079acd75d26999622d01cc6970c Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 3 Oct 2017 11:38:15 -0400 Subject: [PATCH] HSTS header does not belong here, will result in multiple headers --- conf/nginx-primaryonly.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index 6a7f7d8..d8d912c 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -12,7 +12,6 @@ add_header X-Frame-Options "DENY"; add_header X-Content-Type-Options nosniff; add_header Content-Security-Policy "frame-ancestors 'none';"; - add_header Strict-Transport-Security max-age=31536000; } # Nextcloud configuration.