Træfik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker, Swarm, Mesos/Marathon, Consul, Etcd, Zookeeper, etc.
imagine that you have deployed a bunch of microservices on your infrastructure. you probably used a service registry (like etcd or consul) and/or an orchestrator (swarm, mesos/marathon) to manage all these services. if you want your users to access some of your microservices from the internet, you will have to use a reverse proxy and configure it using virtual hosts or prefix paths:
domain api.domain.com will point the microservice api in your private network path domain.com/web will point the microservice web in your private network domain backoffice.domain.com will point the microservices backoffice in your private network, loadbalancing between your multiple instances
but a microservices architecture is dynamic... services are added, removed, killed or upgraded often, eventually several times a day.
traditional reverseproxies are not natively dynamic. you can't change their configuration and hotreload easily.
here enters træfik.
Official Website
GitHub
Twitter
Support for Docker High Availability
Productivity Utilities Security
docker ssl https kubernetes proxy http high-availability load-balancer reverse-proxy toml