Traefik overview
Traefik is Coolify's default integrated reverse proxy. Coolify generates Traefik routes from resource domains and container ports, connects the proxy to the required Docker networks, and configures automatic TLS certificates for HTTPS domains.
Most deployments do not need to edit Traefik directly. Use the proxy guides only when the generated defaults do not cover your routing, certificate, or authentication requirement.
What Coolify manages
Coolify configures:
- the
coolify-proxyTraefik container on connected servers - public
httpandhttpsentry points on ports80and443 - Docker and file providers for generated routes and dynamic configuration
- the
letsencryptTLS certificate resolver for HTTP challenge - resource router, middleware, service, and target-port labels
- the Docker networks that let Traefik reach routed resources
The main configuration is stored at /data/coolify/proxy/docker-compose.yml. Traefik file-provider configuration is stored under /data/coolify/proxy/dynamic/ and mounted at /traefik/dynamic/ inside the proxy container.
Resetting the proxy configuration removes custom changes from the main Docker Compose file. Editing application labels after disabling Readonly labels also makes you responsible for preserving every generated route and middleware label.
Choose a Traefik guide
Protect a resource
Add HTTP basic authentication through Coolify or with Traefik labels.
Add dynamic configuration
Create reusable file-based middleware, routers, services, and TLS settings.
Open the dashboard
Expose the Traefik dashboard through a dedicated, authenticated domain.
Certificates
Choose how Traefik obtains or loads TLS certificates.
Advanced routing
Change how Traefik processes and distributes requests.
