From c18795f2b94da4a7a94e3df21ceb4db5c06c3bdc Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 2 Sep 2023 18:57:18 +0200 Subject: [PATCH] Implemented web socket specific header for baserow --- roles/docker-reverse-proxy/templates/proxy_pass.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/docker-reverse-proxy/templates/proxy_pass.conf.j2 b/roles/docker-reverse-proxy/templates/proxy_pass.conf.j2 index 542b25b6..434a592c 100644 --- a/roles/docker-reverse-proxy/templates/proxy_pass.conf.j2 +++ b/roles/docker-reverse-proxy/templates/proxy_pass.conf.j2 @@ -8,6 +8,11 @@ location / proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Port 443; + # WebSocket specific header + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + # deactivate buffering proxy_buffering off; proxy_request_buffering off;