On of the big selling features of the Traefik reverse-proxy is the auto provisioning of Docker images.

I have been using it for a while now and it always worked nicely, but with the setup becoming much more complicated in Traefik v2 (and them moving into a open-core direction), I have been considering switching back to Nginx to have less “moving parts” in my setup.

So I have been looking for docker autoprovisioning for Nginx, and it does seem to be possible indeed using a utility called docker-gen.

Apparently it even works with a Dockerswarm cluster and there is also an easy setup with Let’s Encrypt.

Anyone tried this before?