code-server set host header

code-server now checks origin on web sockets: be40eca5d9

pass the host header to ensure that check does not fail
This commit is contained in:
Chad 2023-03-05 20:18:09 -05:00 committed by GitHub
commit 58fd9937b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,7 @@ server {
set $upstream_port 8443; set $upstream_port 8443;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Host $host;
} }
} }