mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
reverseproxy: Replace health header placeholders (#5861)
This commit is contained in:
parent
33d8d2c6b5
commit
05dbe1c171
3 changed files with 21 additions and 5 deletions
|
@ -6,6 +6,9 @@ reverse_proxy 127.0.0.1:65535 {
|
|||
X-Header-Key 95ca39e3cbe7
|
||||
X-Header-Keys VbG4NZwWnipo 335Q9/MhqcNU3s2TO
|
||||
X-Empty-Value
|
||||
Same-Key 1
|
||||
Same-Key 2
|
||||
X-System-Hostname {system.hostname}
|
||||
}
|
||||
health_uri /health
|
||||
}
|
||||
|
@ -29,6 +32,10 @@ reverse_proxy 127.0.0.1:65535 {
|
|||
"Host": [
|
||||
"example.com"
|
||||
],
|
||||
"Same-Key": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"X-Empty-Value": [
|
||||
""
|
||||
],
|
||||
|
@ -38,6 +45,9 @@ reverse_proxy 127.0.0.1:65535 {
|
|||
"X-Header-Keys": [
|
||||
"VbG4NZwWnipo",
|
||||
"335Q9/MhqcNU3s2TO"
|
||||
],
|
||||
"X-System-Hostname": [
|
||||
"{system.hostname}"
|
||||
]
|
||||
},
|
||||
"uri": "/health"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue