hello everyone
The traefik access process is as follows
client --> load balancer --> traefik on docker host mode
I only need the x-forward-for forwarded by the load balancer, not the load balancer IP attached by the traefik
I modified the forwarding header middleware and found that the load balancing ip was attached by the traifik. I don't know how to modify the file to meet my expectations.
If you have any ideas, I would be grateful.
You can configure Traefik to trust the forwarded headers information (X-Forwarded-*
), see docs.
thank you, This works as I expected
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.