mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #2736] I proxy my code-server through nginx-proxy-manager and got an error #1884
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1884
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @snicoe on GitHub (Mar 23, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2736
my English is not good, please don't mind -_-lol
I deployed the project on docker and successfully obtained the ssl certificate,the code-server is deployed on my homelab server. I proxy the code-server port through, when I access it with the domain, the code-server returns an error of "websocket 1006". By adding
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
establish websocket connection normally, I want to know the reason.
@theraw commented on GitHub (Apr 3, 2023):
code-server requires websocket support so you have to enable it

@lauren12133 commented on GitHub (Jun 7, 2023):
useless!!!!
@snicoe commented on GitHub (Jun 8, 2023):
websockets support is enabled,websocket 1006 is still reported, like @lauren12133
@wbrione commented on GitHub (Oct 5, 2023):
Same stuff here !!! "Websockets Support" option has no effect all :-(
@snicoe commented on GitHub (Oct 5, 2023):
@wbrione bro i solved this problem :) maybe help.
Add “Custom Nginx Configuration", no other changes are needed.
change the [YOUR_SERVER_IP], [YOUR_DOMAIN] and server port to your own
@wbrione commented on GitHub (Oct 5, 2023):
@snicoe
So, i created a "custom location", but... same error... in fact, some errors are still very specific, like...
or
ENOPRO: No file system provider found for resource 'vscode-remote:/config/data/User/settings.json'So... back in your tip... I believe that plus change the [SERVER_IP] and [DOMAIN], i need replace the ports of two first lines, right ?!
Ports: 9901 and 25052... i don't recognize this 😳
@snicoe commented on GitHub (Oct 5, 2023):
@wbrione yes ,you need replace the ports of two first lines
@WannaYoung commented on GitHub (Oct 25, 2023):
You save my life!
@github-actions[bot] commented on GitHub (Jun 8, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍