From c924cf20e4c36a6664db334bac2e2d3032784d17 Mon Sep 17 00:00:00 2001 From: Jurrer Date: Sun, 15 Oct 2023 20:37:20 +0200 Subject: [PATCH] remove unnecessary headers --- linkace.subdomain.conf.sample | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/linkace.subdomain.conf.sample b/linkace.subdomain.conf.sample index 6b4f2c7..bad95ee 100644 --- a/linkace.subdomain.conf.sample +++ b/linkace.subdomain.conf.sample @@ -11,16 +11,6 @@ server { # enable to indicate to search engines to not index this site # add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"; - - # Content security headers for Laravel - add_header X-Frame-Options "SAMEORIGIN"; - add_header X-XSS-Protection "1; mode=block"; - add_header X-Content-Type-Options "nosniff"; - - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header Host $host; - include /config/nginx/ssl.conf; @@ -55,8 +45,5 @@ server { set $upstream_port 80; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - } - - } \ No newline at end of file