doh-server icon indicating copy to clipboard operation
doh-server copied to clipboard

ECS support in nginx reverse proxy

Open 9bingyin opened this issue 1 year ago • 1 comments

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?

9bingyin avatar Sep 29 '24 11:09 9bingyin