mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 07:33:36 +01:00
Enhancement: Support for Proxy Protocol v1 and v2 #95
Reference in New Issue
Block a user
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 @baltazartroisville on GitHub (Aug 2, 2025).
Hi there!
First, I want to thank you for all the effort and work you've put into godoxy. It's been a really helpful and easy-to-use reverse proxy, especially with the Docker integration!
I like the idea of having support for the Proxy Protocol (v1 and/or v2) in godoxy, which would help in scenarios where preserving the original client's IP address is important when running behind another proxy or load balancer or for raw TCP proxying.
This feature would make godoxy even more versatile and attractive for a wider range of use cases and prevent the reliance on HTTP proxying for having HTTP headers.
Helpful information:
Best regards! ❤️
@MrOwen commented on GitHub (Aug 27, 2025):
Seconding this one. There are projects like frp (https://gofrp.org/en/docs/features/common/realip/) and rathole (sort of.. there's a fork of rathole with proxy protocol support added here:
c013a20e52 (diff-3d0f0f96e2b1cfdd5e6796aff8141648114a917d7ff1de53a0d8f88248418088)) which could make use of this feature.@yusing commented on GitHub (Sep 19, 2025):
Implemented in v0.18.5