Closed chadgeary closed 1 year ago
2023/03/05
code-server now checks origin on web sockets
pass the host header to ensure that check does not fail
Forward proxy host header to code-server
If not passed, code-server will fail to serve web socket content
Validated on lab
upstream change: https://github.com/coder/code-server/commit/be40eca5d92ac2edbd3196e50df1493272431ded
It's already set in proxy.conf
proxy.conf
2023/03/05
code-server now checks origin on web sockets
pass the host header to ensure that check does not fail
Description
Forward proxy host header to code-server
Benefits of this PR and context
If not passed, code-server will fail to serve web socket content
How Has This Been Tested?
Validated on lab
Source / References
upstream change: https://github.com/coder/code-server/commit/be40eca5d92ac2edbd3196e50df1493272431ded