From d809d86182ab802472ae7d5e74cab66ba7bfa397 Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Sat, 31 Oct 2026 07:39:18 -0500 Subject: Package private chat for HTTPS and verify portable encrypted recovery --- infra/Caddyfile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'infra/Caddyfile') diff --git a/infra/Caddyfile b/infra/Caddyfile index 424e129..7975f68 100644 --- a/infra/Caddyfile +++ b/infra/Caddyfile @@ -96,3 +96,13 @@ https://www.{{WKD_HOST}}:{{HTTPS_PORT}} { import https_security redir {{WKD_ORIGIN}}{uri} permanent } + +https://{{CHAT_HOST}}:{{HTTPS_PORT}} { + import https_security + reverse_proxy {{CHAT_UPSTREAM}} +} + +https://www.{{CHAT_HOST}}:{{HTTPS_PORT}} { + import https_security + redir {{CHAT_PUBLIC_ORIGIN}}{uri} permanent +} -- cgit v1.2.3