From d74489af1603c83b3f90531dfe100e932a463f74 Mon Sep 17 00:00:00 2001 From: Xander Date: Thu, 7 Dec 2023 20:37:12 +0100 Subject: [PATCH] better websocket --- container-config/nginx/sites/kelder.zeus.ugent.be.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/container-config/nginx/sites/kelder.zeus.ugent.be.conf b/container-config/nginx/sites/kelder.zeus.ugent.be.conf index 790b934..1d0abb3 100644 --- a/container-config/nginx/sites/kelder.zeus.ugent.be.conf +++ b/container-config/nginx/sites/kelder.zeus.ugent.be.conf @@ -54,6 +54,8 @@ server { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; proxy_http_version 1.1; proxy_set_header Host $host; proxy_pass http://10.0.0.11:5000/socket.io/;