Hello,
I'm beginning in Rancher and I'm using Traefik as a reverse proxy for my containers.
I would like to add the frontend name in the access log, and maybe change the Client Address with the real one from X-forwareded-for header.
I've found this doc: https://docs.traefik.io/configuration/logs/#access-logs
But I don't understand how to apply that with Rancher metadata API or environment variables .
What would be the best practice to do that ?
Regards,
Sgrunt
Hello,
I'm beginning in Rancher and I'm using Traefik as a reverse proxy for my containers.
I would like to add the frontend name in the access log, and maybe change the Client Address with the real one from X-forwareded-for header.
I've found this doc: https://docs.traefik.io/configuration/logs/#access-logs
But I don't understand how to apply that with Rancher metadata API or environment variables .
What would be the best practice to do that ?
Regards,
Sgrunt