Skip to content

Conversation

@liuxhit
Copy link
Contributor

@liuxhit liuxhit commented Oct 3, 2023

update nginx config to avoid wss error when expose code-server using a custom domain and a custom port via nginx.

see also:

Fixes # #4443

update nginx config to avoid wss error when expose code-server using a custom domain and a custom port via nginx.

see also: 
[issue of code-server](coder#4443)
[different between `$host` and `$http_host`](https://stackoverflow.com/a/76875724)
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@code-asher code-asher enabled auto-merge (squash) October 4, 2023 17:02
@code-asher code-asher disabled auto-merge October 4, 2023 18:41
@code-asher code-asher merged commit db9f678 into coder:main Oct 4, 2023
yiliang114 pushed a commit to yiliang114/code-server that referenced this pull request Jan 23, 2025
update nginx config to avoid wss error when expose code-server using a custom domain and a custom port via nginx.

see also: 
[issue of code-server](coder#4443)
[different between `$host` and `$http_host`](https://stackoverflow.com/a/76875724)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants