Hi, I have lots of domains and the general configuration looks like this.
{
"match": [
{
"host": [
"git.ishanjain.me"
]
}
],
"handle": [
{
"handler": "reverse_proxy",
"upstreams": [
{
"dial": "ip2:443"
},
{
"dial": "10.0.50.3:443"
}
],
"load_balancing": {
"selection_policy": {
"policy": "first"
},
"retries": 2,
"try_duration": "3s",
"try_interval": "10ms"
},
"transport": {
"protocol": "http",
"tls": {
"server_name": "git.ishanjain.me"
},
"compression": true
},
"health_checks": {
"active": {
"uri": "/",
"port": 9001,
"interval": "10s",
"timeout": "10s",
"expect_status": 200
}
}
}
],
"terminal": true
}
Is it possible to add a header specifying the path/upstream address used to serve a request?