From 4c9159b7e7e91e8794325a850ac4564fd63c9263 Mon Sep 17 00:00:00 2001 From: frju365 Date: Mon, 24 Apr 2017 17:25:57 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c21f625..8f34500 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,10 +5,6 @@ location / { # Will not set any header if it is emptystring add_header Cache-Control $cacheControl; - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; - add_header X-XSS-Protection "1; mode=block"; - add_header X-Content-Type-Options nosniff; - # add_header X-Frame-Options "SAMEORIGIN"; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; }