From 31cace9994bd26b72ff03f8e96aef1f454c6b57b Mon Sep 17 00:00:00 2001 From: MisterBlueBear <51129551+MisterBlueBear@users.noreply.github.com> Date: Wed, 18 Oct 2023 21:42:57 -0400 Subject: [PATCH 1/2] nginx conf - Fix for issue #577 --- conf/nginx/webvirtcloud.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/nginx/webvirtcloud.conf b/conf/nginx/webvirtcloud.conf index 3ba36ec..144431b 100644 --- a/conf/nginx/webvirtcloud.conf +++ b/conf/nginx/webvirtcloud.conf @@ -34,6 +34,12 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } + location /websockify { + proxy_pass http://wssocketiod; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } } upstream wsnovncd { From 4aafad668ba33465dd68be0b421e7bb67f877ee0 Mon Sep 17 00:00:00 2001 From: MisterBlueBear <51129551+MisterBlueBear@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:12:20 -0400 Subject: [PATCH 2/2] Location /websockify proxy passes to wsnovncd --- conf/nginx/webvirtcloud.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx/webvirtcloud.conf b/conf/nginx/webvirtcloud.conf index 144431b..153b389 100644 --- a/conf/nginx/webvirtcloud.conf +++ b/conf/nginx/webvirtcloud.conf @@ -35,7 +35,7 @@ server { proxy_set_header Connection "upgrade"; } location /websockify { - proxy_pass http://wssocketiod; + proxy_pass http://wsnovncd; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";