From 58fd9937b1fd02050646204510a0c8a290edd121 Mon Sep 17 00:00:00 2001 From: Chad Date: Sun, 5 Mar 2023 20:18:09 -0500 Subject: [PATCH] code-server set host header code-server now checks origin on web sockets: https://github.com/coder/code-server/commit/be40eca5d92ac2edbd3196e50df1493272431ded pass the host header to ensure that check does not fail --- code-server.subdomain.conf.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/code-server.subdomain.conf.sample b/code-server.subdomain.conf.sample index 4c7abcb..4346353 100644 --- a/code-server.subdomain.conf.sample +++ b/code-server.subdomain.conf.sample @@ -41,6 +41,7 @@ server { set $upstream_port 8443; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + proxy_set_header Host $host; } }