aboutsummaryrefslogtreecommitdiff
path: root/infra/Caddyfile.local
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-10-30 22:36:11 -0500
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-10-30 22:36:11 -0500
commit6933ec28be3dac0dc17cd634c663db3b4818caad (patch)
tree22690260136d598d2719d97deb169b847b31424c /infra/Caddyfile.local
parentc3b361c45ac8dd898d5c83a161abed5fc138b6c0 (diff)
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.
Diffstat (limited to 'infra/Caddyfile.local')
-rw-r--r--infra/Caddyfile.local4
1 files changed, 2 insertions, 2 deletions
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
}
}