Comments on Docker Guide: Installing Traefik - a Modern Reverse Proxy for Microservices

Traefik is a modern HTTP reverse proxy and load balancer for microservices. In this tutorial, I will show you step by step how to install and configure Traefik modern reverse proxy as a Docker container on Ubuntu 18.04 LTS (Bionic Beaver).

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Magnus

Thanks for showing how to do the admin ui auth thing, I mean:

[web.auth.basic] users = ["mohammad:$apr1$hEgpZ.......Ibi."]And b.t.w. I think you forgot to add :8080 to the admin UI URL above.

By: KyleG

[web] is deprecated now and has been replaced by a (NOT FOR PRODUCTION) --api command option.

https://docs.traefik.io/configuration/api/

I still used the option to hello-world Traefik for myself when I was struggling. Ended up using this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-traefik-as-a-reverse-proxy-for-docker-containers-on-ubuntu-16-04

This was quite helpful, though!

By: no

this tutorial is broke  command traefik error: field not found, node: redirect

By: Ngjtt

The tutorial is based on traefik version 1, latest currently pulls version 2. If you change image: traefik:latest

to: image: traefik:v1.7.16

you will get the latest traefik version 1 and everything works fine

By: Cody

I too encountered the the redirect issue. It appears V2 is using entryPoints.web middleware to handle redirection. https://docs.traefik.io/v2.2/routing/entrypoints/#redirection