From 45530ecc529275e729463b11a5913a0ceaebc84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 31 Mar 2023 19:27:24 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 858d281..af9e97a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,8 @@ location __PATH__/ { index index.html; more_set_headers "X-Frame-Options: SAMEORIGIN"; - more_set_headers "X-Content-Type-Options: nosniff"; + more_clear_headers "X-Content-Type-Options"; + #more_set_headers "X-Content-Type-Options: nosniff"; more_set_headers "X-XSS-Protection: '1; mode=block'"; more_set_headers "Content-Security-Policy: frame-ancestors 'self'";