fix: bug: Caddyfile in edge.hcl has invalid header_up at handle-block top level — Caddy rejects config (#1117) #1125
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