Learn Traefik

Fifteen chapters covering everything from basics to production.

Chapter 1: Introduction to Traefik

beginner

What is Traefik and why use it? Core concepts, features comparison with other reverse proxies.

Chapter 2: Architecture & Request Flow

beginner

How Traefik processes requests — entrypoints, routers, middleware chain, services.

Chapter 3: EntryPoints

beginner

Configuring EntryPoints — ports, protocols, TLS termination, HTTP to HTTPS redirect.

Chapter 4: Routers & Rules

beginner

Router configuration, rule matchers, TLS settings, priorities, and middlewares.

Chapter 5: Services & Load Balancing

beginner

Configuring services, load balancing strategies, health checks, sticky sessions.

Chapter 6: Middleware

intermediate

Complete middleware catalog — authentication, rate limiting, headers, compression, error handling, and more.

Chapter 7: Providers

intermediate

Docker, Kubernetes, File, Consul, and other providers for dynamic configuration.

Chapter 8: TLS & ACME

intermediate

Automatic TLS certificates with Let's Encrypt, ACME challenges, custom certificates, TLS options.

Chapter 9: Observability

intermediate

Metrics with Prometheus/OpenTelemetry, access logs, tracing, and health monitoring.

Chapter 10: API & Dashboard

intermediate

Configuring and securing the Traefik API, dashboard, and debug endpoints.

Chapter 11: TCP & UDP Routing

intermediate

Configuring TCP and UDP entrypoints, SNI routing, TLS passthrough, and UDP load balancing.

Chapter 12: Security

advanced

Hardening Traefik — security headers, mTLS, IP allowlisting, OAuth, security middleware patterns.

Chapter 13: Plugins

advanced

Finding, installing, and developing Traefik plugins — extending middleware capabilities.

Chapter 14: The Traefik Ecosystem

intermediate

Comparing Traefik Proxy, Traefik Hub, Traefik Enterprise, Traefik AI Gateway, and MCP Gateway.

Chapter 15: Production Deployment

advanced

High-availability deployment, monitoring, backup, scaling, CI/CD, and migration guide.