From 325ce2e12506f1bd4187c5c4c1588f5f317e55df Mon Sep 17 00:00:00 2001
From: Florian Raith <37345813+FlorianRaith@users.noreply.github.com>
Date: Tue, 1 Aug 2023 15:17:57 +0200
Subject: [PATCH] Enable websocket nginx support (#36)

Co-authored-by: collabspace <admin@collabspace-app.com>
---
 proxy/includes/proxy.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/proxy/includes/proxy.conf b/proxy/includes/proxy.conf
index 90c764d..f9d3977 100644
--- a/proxy/includes/proxy.conf
+++ b/proxy/includes/proxy.conf
@@ -1,5 +1,7 @@
 access_log off;
 proxy_intercept_errors on;
+proxy_set_header Upgrade $http_upgrade;
+proxy_set_header Connection "Upgrade";
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header Host $host;
-proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
\ No newline at end of file
+proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-- 
GitLab