From 6933ec28be3dac0dc17cd634c663db3b4818caad Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Fri, 30 Oct 2026 22:36:11 -0500 Subject: Centralize deployment settings in the root environment file Document public domains, ports, upstreams, chat binding, and backup defaults alongside private settings. Validate shared configuration and render Caddy, cgit, and website links from an explicit public allowlist while preserving one installation environment file. --- infra/Caddyfile.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'infra/Caddyfile.local') diff --git a/infra/Caddyfile.local b/infra/Caddyfile.local index 4d3bf11..6e3508c 100644 --- a/infra/Caddyfile.local +++ b/infra/Caddyfile.local @@ -19,12 +19,12 @@ @git path /git /git/* /cgit.js /cgit.png handle @git { uri strip_prefix /git - reverse_proxy cgit:8080 + reverse_proxy {{CGIT_UPSTREAM}} } @search path /search /search/* handle @search { - reverse_proxy searxng:8080 { + reverse_proxy {{SEARXNG_UPSTREAM}} { header_up X-Script-Name /search } } -- cgit v1.2.3