bin-53 opened a new issue, #9874:
URL: https://github.com/apache/apisix/issues/9874
### Description
When I used https to proxy a page, I got the Invalid Host header, at that
time when I represent an interface was normal, I don't know what happened?
there is my config:
route config: (10.4.16.15:9000 is page ,others is interface)
```
{
"uris": [
"/pageApi/*",
"/static/*"
],
"name": "http",
"priority": 1,
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS"
],
"plugins": {
"proxy-rewrite": {
"regex_uri": [
"^/pageApi(/|$)(.*)",
"/$2"
]
}
},
"upstream": {
"nodes": [
{
"host": "10.4.16.15",
"port": 9000,
"weight": 1
},
{
"host": "192.168.88.66",
"port": 6001,
"weight": 1
}
],
"retries": 1,
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
},
"retry_timeout": 1
},
"status": 1,
"uri": "/pageApi/*,/static/*"
}
```
the result:
1:proxy to page:

2.proxy to interface is normal

### Environment
- APISIX version (run `apisix version`):2.15-alpine
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]