Implemented web socket specific header for baserow

This commit is contained in:
Kevin Veen-Birkenbach 2023-09-02 18:57:18 +02:00
parent 3e73e63059
commit 8407c288fb

View File

@ -8,6 +8,11 @@ location /
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443; 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 # deactivate buffering
proxy_buffering off; proxy_buffering off;
proxy_request_buffering off; proxy_request_buffering off;