Forwarding the clients ip
Add the below middleware:
http: middlewares: # Middleware to ensure the client's IP address is forwarded correctly forwardClientIPHeaders: headers: customRequestHeaders: X-Forwarded-For: "" # Traefik will populate this with the actual client IP address