fix: bug: Caddyfile in edge.hcl has invalid header_up at handle-block top level — Caddy rejects config (#1117) #1125

Closed
dev-qwen wants to merge 1 commit from fix/issue-1117 into main

View file

@ -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/* {