fix: fix: strip /staging prefix in Caddyfile before proxying to staging container (#1079)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/edge-subpath Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/secret-scan Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-20 15:09:34 +00:00
parent abca547dcc
commit d17754efab
3 changed files with 9 additions and 0 deletions

View file

@ -860,6 +860,7 @@ _generate_caddyfile_subpath() {
# Reverse proxy to staging
handle /staging/* {
uri strip_prefix /staging
reverse_proxy staging:80
}