How to Proxy Multiple Code-Servers via Nginx? #7036
Answered
by
code-asher
yuzhuoheng
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
code-asher
Jan 13, 2025
Replies: 2 comments 5 replies
-
I think once you use a regex you have to tell NGINX what the full target is, but I am not sure. This seems to work for me:
|
Beta Was this translation helpful? Give feedback.
5 replies
-
@yuzhuoheng 这个问题你解决了吗 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure to include all the other headers as well. NGINX will not forward web sockets without
Upgrade
andConnection
. I would includeHost
andAccept-Encoding
as well.