Traefik

Traefik Logo

How to show real IP of clients in Traefik access.log in Docker

Ed Brandon  -  March 31, 2022

If you are running Traefik in Docker and you are monitoring incoming traffic you will see all incoming connections are using IP addresses from the Docker ingress network. If you need the real IP of clients in Traefik connecting to your Traefik reverse proxy running in a Docker Swarm environment you will need to publish...

Read More
Traefik Logo

How to rotate the Traefik access.log in Docker Swarm

Ed Brandon  -  March 31, 2022

I enabled Traefik access logs to use in Grafana for a Traefik to Loki dashboard. I quickly found out Traefik access logs grow quickly and I would need to rotate the Traefik access.log in Docker Swarm. Since I have Traefik running in a container in Docker Swarm we will have to tell the logrotate daemon...

Read More