mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
docs: Ingress & HTTP overview
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
sidebar_label: Overview
|
||||
---
|
||||
|
||||
# Ingress & HTTPS
|
||||
|
||||
Uncloud uses [Caddy](https://caddyserver.com/) as its reverse proxy to handle incoming traffic, provide automatic HTTPS
|
||||
with [Let's Encrypt](https://letsencrypt.org/), 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](3-managing-caddy.md) for deployment and customisation instructions.
|
||||
|
||||
When you [publish a service port](2-publishing-services.md), Uncloud automatically configures Caddy to:
|
||||
|
||||
1. Listen for requests on the specified hostname (domain name).
|
||||
2. Automatically obtain and renew a TLS certificate from Let's Encrypt for HTTPS.
|
||||
3. Route traffic to the **healthy** service container(s).
|
||||
4. Load balance across healthy replicas if there are multiple.
|
||||
@@ -0,0 +1,4 @@
|
||||
label: Ingress & HTTPS
|
||||
collapsed: true # keep the category closed by default
|
||||
link:
|
||||
type: generated-index
|
||||
@@ -0,0 +1,4 @@
|
||||
label: Concepts
|
||||
collapsed: false # keep the category open by default
|
||||
link:
|
||||
type: generated-index
|
||||
Reference in New Issue
Block a user