caddy/caddytest/integration/caddyfile_adapt/reverse_proxy_proxy_status_name.caddyfiletest
Kévin Dunglas 2f34b936f5
feat: implement the Incremental header field (RFC 10036) (#8020)
Co-authored-by: Zen Dodd <mail@steadytao.com>
2026-10-02 20:59:34 -04:00

56 lines
916 B
Text

https://example.com {
reverse_proxy https://localhost:54321 {
proxy_status_name proxy-3.example.com
}
}
----------
{
"apps": {
"http": {
"servers": {
"srv0": {
"listen": [
":443"
],
"routes": [
{
"match": [
{
"host": [
"example.com"
]
}
],
"handle": [
{
"handler": "subroute",
"routes": [
{
"handle": [
{
"handler": "reverse_proxy",
"proxy_status_name": "proxy-3.example.com",
"transport": {
"protocol": "http",
"tls": {}
},
"upstreams": [
{
"dial": "localhost:54321"
}
]
}
]
}
]
}
],
"terminal": true
}
]
}
}
}
}
}