From 8b4d4da7beca437e1624dcafa025970c9f29e475 Mon Sep 17 00:00:00 2001 From: Lukas Post <18466902+deutschepost@users.noreply.github.com> Date: Sat, 2 Oct 2021 23:57:25 +0200 Subject: [PATCH] delete redundant proxy headers --- synapse.subdomain.conf.sample | 4 ---- 1 file changed, 4 deletions(-) diff --git a/synapse.subdomain.conf.sample b/synapse.subdomain.conf.sample index 6c5d5b2..0bc3e62 100644 --- a/synapse.subdomain.conf.sample +++ b/synapse.subdomain.conf.sample @@ -38,9 +38,5 @@ server { set $upstream_port 8008; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header Host $host; } }