The preserve_host property
{
"name": "My API",
"hosts": ["service.com"],
"proxy": {
"listen_path": "/foo/*",
"upstreams" : {
"balancing": "roundrobin",
"targets": [
{"target": "http://my-api.com"}
]
},
"methods": ["GET"]
}
}GET / HTTP/1.1
Host: service.comLast updated
Was this helpful?