"x-original-url" does not show the original url after add custom domain
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
I am not sure if it is the right place to file a bug. I have a http-trigger function whose url is `/api/ssr` and here is my `proxies.json`
```json
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"proxy1": {
"matchCondition": {
"route": "/{entry}"
},
"backendUri": "https://example.azurewebsites.net/api/ssr"
}
}
}
```
The request headers `x-original-url` show `/b.node` when I hit `https://example.azurewebsites.net/b.node` and this behaviour is correct. After adding my custom domain, `x-original-url` will always show `/api/ssr` even with using `https://example.azurewebsites.net/b.node`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.