HTTPS & TLS
Overview
Traefik supports HTTPS & TLS, which concerns roughly two parts of the configuration: routers, and the TLS connection (and its underlying certificates).
When a router has to handle HTTPS traffic, it should be specified with a tls
field of the router definition. See the TLS section of the routers documentation.
The next sections of this documentation explain how to configure the TLS connection itself. That is to say, how to obtain TLS certificates: either through a definition in the dynamic configuration, or through Let’s Encrypt (ACME). And how to configure TLS options, and certificates stores.
Using Traefik OSS in Production?
If you are using Traefik at work, consider adding enterprise-grade API gateway capabilities or commercial support for Traefik OSS.
Adding API Gateway capabilities to Traefik OSS is fast and seamless. There’s no rip and replace and all configurations remain intact. See it in action via this short video.