Ingress & HTTPS
Uncloud uses Caddy as its reverse proxy to handle incoming traffic, provide automatic HTTPS with Let's Encrypt, and route requests to your services.
How it works
Caddy runs as a global service caddy
on every machine in your cluster, listening on the host ports 80 (HTTP) and 443
(HTTPS).
It's deployed during cluster initialisation (uc machine init
) unless you use the --no-caddy
flag.
See Managing Caddy for deployment and customisation instructions.
When you publish a service port, Uncloud automatically configures Caddy to:
- Listen for requests on the specified hostname (domain name).
- Automatically obtain and renew a TLS certificate from Let's Encrypt for HTTPS.
- Route traffic to the healthy service container(s).
- Load balance across healthy replicas if there are multiple.
For advanced use cases, Uncloud allows to customise the Caddy config using the x-caddy
extension in Compose files.
See Custom Caddy configuration for details.