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.
Coolify does not sync edits to /data/coolify/proxy/docker-compose.yml back into the UI once a proxy configuration is saved in Coolify. Make changes under Servers > your server > Proxy > Configuration and save them there. Starting or restarting the proxy through Coolify writes its saved configuration to disk and can overwrite disk-only edits.
Resetting the proxy configuration removes custom changes from the main Docker Compose file. Editing application labels after choosing manual label management also makes you responsible for preserving every generated route and middleware label.
Choose a Traefik guide
If Coolify shows a new-version notice, follow Update Traefik to review compatibility, change the image version, and restart the proxy.
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.
