fix: bug: Caddyfile in edge.hcl has invalid header_up at handle-block top level — Caddy rejects config (#1117)
Some checks are pending
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/push/nomad-validate Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/edge-subpath Pipeline is pending
ci/woodpecker/pr/nomad-validate Pipeline is pending
ci/woodpecker/pr/secret-scan Pipeline is pending
Some checks are pending
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/push/nomad-validate Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/edge-subpath Pipeline is pending
ci/woodpecker/pr/nomad-validate Pipeline is pending
ci/woodpecker/pr/secret-scan Pipeline is pending
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d368f904fb
commit
f2846232fa
1 changed files with 4 additions and 3 deletions
|
|
@ -175,9 +175,10 @@ EOT
|
|||
}
|
||||
# WebSocket endpoint for streaming (#1026)
|
||||
handle /chat/ws {
|
||||
header_up Upgrade $http.upgrade
|
||||
header_up Connection $http.connection
|
||||
reverse_proxy 127.0.0.1:8080
|
||||
reverse_proxy 127.0.0.1:8080 {
|
||||
header_up Upgrade {http.request.header.Upgrade}
|
||||
header_up Connection {http.request.header.Connection}
|
||||
}
|
||||
}
|
||||
# Defense-in-depth: forward_auth stamps X-Forwarded-User from session (#709)
|
||||
handle /chat/* {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue