diff options
author | Francis Lavoie <lavofr@gmail.com> | 2023-10-11 11:50:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 09:50:28 -0600 |
commit | 05dbe1c171846b0b683dedbe2c4c20683e867ba0 (patch) | |
tree | 7c4e129a7635af64dd887f7ad2e9262794c2bece /caddytest | |
parent | 33d8d2c6b5e070d108d69853b8d56fb2f89a1f31 (diff) |
reverseproxy: Replace health header placeholders (#5861)
Diffstat (limited to 'caddytest')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/reverse_proxy_health_headers.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/reverse_proxy_health_headers.txt b/caddytest/integration/caddyfile_adapt/reverse_proxy_health_headers.txt index 17adcaa..800c11f 100644 --- a/caddytest/integration/caddyfile_adapt/reverse_proxy_health_headers.txt +++ b/caddytest/integration/caddyfile_adapt/reverse_proxy_health_headers.txt @@ -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" |