From 18707c1177923192abbfbae9d8ab8db37bb80d54 Mon Sep 17 00:00:00 2001 From: Bert Van den Abbeele Date: Wed, 27 Nov 2024 12:21:00 +0100 Subject: [PATCH] remove optional headers --- romm.subdomain.conf.sample | 9 --------- 1 file changed, 9 deletions(-) diff --git a/romm.subdomain.conf.sample b/romm.subdomain.conf.sample index 06317e3..07c34d4 100644 --- a/romm.subdomain.conf.sample +++ b/romm.subdomain.conf.sample @@ -42,14 +42,5 @@ server { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - # Hide version - server_tokens off; - - # Security headers - add_header X-Frame-Options "SAMEORIGIN" always; - add_header X-Content-Type-Options "nosniff" always; - add_header X-XSS-Protection "1; mode=block" always; - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; - add_header Referrer-Policy "no-referrer-when-downgrade" always; } } \ No newline at end of file