-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
V2Ray Transport HTTP does not work behind a reverse proxy #1728
Comments
I think you made a mistake when configuring NGINX. According to the Doc, the path that NGINX passes to sing-box is So, I think you should either add a |
Thanks, but the error hasn't changed: Nginx access:
Client Sing-Box:
Curl Client:
Server Sing-Box:
|
I am fairly sure that no matter the transport/stream settings, the inner |
But why was this transport added if it doesn’t work? |
It works, but not behind NGINX. According to this, I think nginx is not (and never will in the future) using HTTP/2 to communicate with wing-box. This is the first time I realized nginx works like that, and sorry for providing wrong information before. |
Requests reach the server only after the connection is broken, I checked this using TCPDUMP. |
But the Sing-Box documentation states that if the Trojan on the server does not use TLS, Plain HTTP/1.1 will be used as transport: |
The |
Close this as it is not a sing-box bug. Try caddy instead. |
Operating system
Linux
System version
Debian 12
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
The configuration works without a reverse proxy, but with it requests stop reaching the Sing-Box server, the logs are empty
Reproduction
Server
Reverse Proxy
Client
Logs
Client test request
Client Sing-Box
Nginx access log:
The text was updated successfully, but these errors were encountered: