picoHz / taxy

A reverse proxy server with built-in WebUI, supporting TCP/UDP/HTTP/TLS/WebSocket, written in Rust.
https://taxy.dev/
MIT License
88 stars 6 forks source link

502 Bad gateway #85

Closed the-moog closed 2 weeks ago

the-moog commented 2 months ago

I've been having a problem where some apps forward properly but others do not. Returning Bad Gateway 502. I think this may be related to missing headers. Can you confirm that Taxy adds the X-Forwarded-For and X-Forwarded-Proto headers? I looked but could not find a configuration option to turn that on.

picoHz commented 2 weeks ago

I've fixed some inconsistent behavior with the x-forwarded-* headers in v0.3.31. Feel free to reopen the issue if the error persists.