Behind Traefik
Run Yard hosting behind a plain Traefik, not the one Coolify manages.
Read Hosting behind another proxy first for the concepts.
When something fails, run yard hosting doctor: it is read-only and names
what to change.
Steps
- In the runner's Hosting settings choose TLS: Behind another proxy.
- Copy the Traefik tab into a file in Traefik's dynamic configuration
directory (the one the file provider watches). The router has priority 1,
so exact
Host()routers of your other services win. - Check the entrypoint name (
websecureorhttps) and the certificate resolver in the file, and give the resolver a DNS-01 challenge for the wildcard. - Traefik reloads the file by itself. Run Test route.
A Traefik in a container cannot reach the host's 127.0.0.1. The doctor finds
the dynamic directory from the container's bind mounts and the gateway from its
networks, and proposes both.