aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddytest/integration/caddyfile_adapt
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2023-10-11 11:50:28 -0400
committerGitHub <[email protected]>2023-10-11 09:50:28 -0600
commit05dbe1c171846b0b683dedbe2c4c20683e867ba0 (patch)
tree7c4e129a7635af64dd887f7ad2e9262794c2bece /caddytest/integration/caddyfile_adapt
parent33d8d2c6b5e070d108d69853b8d56fb2f89a1f31 (diff)
downloadcaddy-05dbe1c171846b0b683dedbe2c4c20683e867ba0.tar.gz
caddy-05dbe1c171846b0b683dedbe2c4c20683e867ba0.zip
reverseproxy: Replace health header placeholders (#5861)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r--caddytest/integration/caddyfile_adapt/reverse_proxy_health_headers.txt10
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 17adcaa68..800c11f18 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"