A video seminar to learn how Traefik works

At Eficode (formerly Praqma)  we believe in knowledge sharing, and we love to teach our technical expertise. Watch this series of videos to learn how traefik reverse proxy works step by step.

Through examples and concrete scenarios, the videos will cover:

  • Traefik quick start (API and Dashboard) (/api , /health, etc)
  • Understanding Traefik’s behavior for an example docker-compose stack
  • The exposedByDefault setting
  • Using labels to setup frontends
  • Dashboard protection with passwords
  • SSL/TLS/HTTPS with self signed certificates
  • Introduction to LetsEncrypt, ACME, CertBot, etc
  • Difference between HTTP and DNS challenge
  • Difference between staging and production certificates
  • LetsEncrypt’s rate limits to watch for
  • SSL/TLS/HTTPS certificates from LetsEncrypt
  • The acmeLogging directive
  • The onHostRule directive
  • Example with HTTP challenge
  • Example with DNS challenge

You can find all the examples on using traefik reverse proxy in this repository

1. Introduction to Traefik

  • Traefik quick start (API and Dashboard) (/api , /health, etc)
  • The exposedByDefault setting
  • Using labels to setup frontends
  • Using a multitool container image for network troubleshooting

 

 

2. Protection for Traefik’s dashboard

  • Dashboard protection with passwords
  • Using Apache htpasswd utility to generate passwords for Traefik

 

3. How to use HTTPS to encrypt incoming traffic using self-signed certificates

  • Using openssl to generate a self-signed certificate
  • Update Traefik’s (traefik.toml) config file to use the self-signed certificate

 

 

4. Introduction to LetsEncrypt

  • Understanding how LetsEncrypt work
  • Understanding ACME, Certbot, etc
  • Difference between Staging and Production certificates
  • Understand certificate expiry, renewals, and rate limits, etc
  • Overview of HTTP and DNS challenges used by LetsEncrypt

 

5. How http challenge works with a real web server

Understanding and using HTTP challenge to get SSL certificates from LetsEncrypt for a real/online web server

 

 

6. How DNS challenge works

Understanding and using DNS challenge to get a wildcard SSL certificates from LetsEncrypt for a domain

 

Published: Jun 19, 2019

Updated: Mar 26, 2024

DevOpsCloud