reverseproxy: Fix incorrect health_headers Caddyfile parsing (#4485)

Fixes #4481
This commit is contained in:
Francis Lavoie
2021-12-17 10:53:11 -05:00
committed by GitHub
parent 180ae0cc48
commit 5333c3528b
2 changed files with 9 additions and 9 deletions
@@ -7,6 +7,7 @@ reverse_proxy 127.0.0.1:65535 {
X-Header-Keys VbG4NZwWnipo 335Q9/MhqcNU3s2TO
X-Empty-Value
}
health_uri /health
}
----------
{
@@ -38,7 +39,8 @@ reverse_proxy 127.0.0.1:65535 {
"VbG4NZwWnipo",
"335Q9/MhqcNU3s2TO"
]
}
},
"uri": "/health"
}
},
"upstreams": [