From c7d1674055a538420cfccf8a9ce04b4b3436a420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Juul=20Brunsh=C3=B8j?= Date: Tue, 13 Jun 2023 21:49:12 +0200 Subject: [PATCH] nginx conf ws --- nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx.conf b/nginx.conf index 4041e08..c5f95d5 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,6 +9,10 @@ server { location / { proxy_pass http://localhost:4001/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; } }