From 17ed7b42c4057e7bff0804e184200a3ccd07099e Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Sun, 22 Mar 2020 01:04:47 +0100 Subject: [PATCH] Add websocket headers --- frontend/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 6257c19..fd27eaf 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -22,5 +22,8 @@ server { location /socket.io { proxy_pass http://api_upstream; + proxy_pass_request_headers on; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; } }