disinto/nomad
Agent 79e14dcf84
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/nomad-validate Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/pr/edge-subpath Pipeline failed
ci/woodpecker/pr/nomad-validate Pipeline failed
ci/woodpecker/pr/secret-scan Pipeline failed
ci/woodpecker/pr/smoke-init Pipeline failed
fix: add uri strip_prefix /forge to Caddyfile generator — Forgejo routes 404 without it (completes #1080)
The /forge/* handle block in the Caddyfile generator was missing the
"uri strip_prefix /forge" directive. Without it, Caddy forwards
/forge/foo → forgejo:3000/forge/foo, Forgejo's router doesn't match,
and returns 404. Adding strip_prefix makes the prefix transparent to
Forgejo while ROOT_URL still governs link generation in HTML.

Also fixes nomad/jobs/edge.hcl (Nomad-rendered Caddyfile template)
and .woodpecker/edge-subpath.yml (CI mock Caddyfile) for consistency.

Same pattern as the /staging/* strip_prefix added in #1079.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-21 11:22:34 +00:00
..
jobs fix: add uri strip_prefix /forge to Caddyfile generator — Forgejo routes 404 without it (completes #1080) 2026-04-21 11:22:34 +00:00
AGENTS.md chore: gardener housekeeping 2026-04-21 2026-04-21 05:53:43 +00:00
client.hcl fix: [nomad-step-5] S5.2 — nomad/jobs/staging.hcl + chat.hcl (#989) 2026-04-18 08:01:48 +00:00
server.hcl fix: [nomad-step-2] S2.3 — vault-nomad-auth.sh (enable JWT auth + roles + nomad workload identity) (#881) 2026-04-16 16:44:59 +00:00
vault.hcl fix: [nomad-step-0] S0.3 — install vault + systemd auto-unseal + vault-init.sh (dev-persisted seal) (#823) 2026-04-16 06:53:27 +00:00