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)
Comments
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.[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!
this tutorial is broke command traefik error: field not found, node: redirect
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
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