From c5c5da2b5d50d7f0e6066a2fa826a0b87e7b8789 Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Sat, 10 Feb 2024 16:04:36 -0600 Subject: [PATCH] remove reverse proxy headers that shouldn't be needed --- deploy/docker/initializr-web.conf.template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy/docker/initializr-web.conf.template b/deploy/docker/initializr-web.conf.template index 0d55139c..d7a01a44 100644 --- a/deploy/docker/initializr-web.conf.template +++ b/deploy/docker/initializr-web.conf.template @@ -9,10 +9,8 @@ server { location /api { proxy_ssl_protocols TLSv1.2; proxy_pass $INITIALIZR_SERVICE_URI; - proxy_cache_bypass $http_upgrade; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection keep-alive; proxy_set_header Host $INITIALIZR_SERVICE_HOST; + proxy_set_header Connection keep-alive; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;