doh-server
doh-server copied to clipboard
ECS support in nginx reverse proxy
I use Nginx to reverse proxy to doh-proxy because I want to use multiple paths to distinguish between different sources of DoH requests. However, I find that regardless of whether I use X-Real-IP or X-Forwarded-For to pass the upstream IP, it ultimately does not get applied to doh-proxy. However, the ECS directly attached by the upstream client (e.g., dig +subnet) is passed through.
I also didn't see any related information in the Usage section. Does doh-proxy not support this feature, or could there be an issue with my configuration?