basforge

Search titles, text and the “If it doesn’t work” cases.

    RU
    Topic · Homelab

    Traefik

    Routers, labels, Let’s Encrypt certificates

    Entries
    9 + 1
    Cases
    38
    Updated
    2026-10-26
    Series · where to startOverview

    Traefik: what it is and when to pick it

    Traefik is a reverse proxy: it takes every request to the server on ports 80 and 443 and hands it to a container by site name. It gets and renews Let’s Encrypt certificates on its own, and picks up new containers from labels in their compose files — no proxy config edits, no restart.

    Read the overview
    1. From scratch · ManualTraefik from scratch: the first service by name, with HTTPSBring up the proxy and open the first two services. Plus which changes apply live and which need a restart.
    2. traefik.yml · Configtraefik.yml block by block: what each setting meansEvery line with its default and when to change it.
    3. Labels · Cheat sheetTraefik labels: router, middleware, serviceEveryday use: connect a service, a password, a rate limit, TCP.
    4. Wildcard · ManualTraefik and Let’s Encrypt: wildcard, ACME, a certificate for neighboursOne certificate for every subdomain, the DNS challenge.
    5. CrowdSec · Manualfrom CrowdSecCrowdSec with Traefik behind Cloudflare: two bouncers and X-Forwarded-ForBans at the proxy level, sites behind Cloudflare.
    6. Logs · Manualfrom LogsTraefik logs: CrowdSec, vector, Loki, rotationWho reads the access log and how not to lose lines on rotation.

    More in this topic

    Tips

    6

    Also on this topic

    Entries from other topics that are about this too.