Add Caddy for automatic HTTPS in front of the frontend/backend stack

Caddy now owns ports 80/443 and reverse-proxies to the frontend
container (which was publishing 80 itself, conflicting with Caddy),
handling Let's Encrypt certificate issuance/renewal automatically.
Fix the Caddyfile's upstream name (it referenced a nonexistent "app"
service instead of "frontend") and update the Lightsail deploy guide's
HTTPS section to match this setup instead of the old manual-certbot
approach.
This commit is contained in:
2026-08-18 21:22:53 +09:00
parent db98677838
commit 20cb449f76
3 changed files with 66 additions and 15 deletions
+3
View File
@@ -0,0 +1,3 @@
colcaroli-playchat.duckdns.org {
reverse_proxy frontend:80
}