From e084cd9c5bbc8d9a38e72d1cfe2cb934578ab03b Mon Sep 17 00:00:00 2001 From: Dries Augustyns Date: Thu, 15 Aug 2024 11:48:25 +0200 Subject: [PATCH] Revert back Nginx changes --- deployment/nginx.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/deployment/nginx.conf b/deployment/nginx.conf index 2472cb15..aa285d97 100644 --- a/deployment/nginx.conf +++ b/deployment/nginx.conf @@ -9,9 +9,6 @@ http { location /api/ { proxy_pass http://127.0.0.1:4000/; proxy_set_header Host $host; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; 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; @@ -20,9 +17,6 @@ http { location / { proxy_pass http://127.0.0.1:5000; proxy_set_header Host $host; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; 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;