Skip to content

Update default nginx config in guide.md #6471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2023
Merged

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