Virtual host matching
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to set up a redirect service in Azure. I can do redirects from e.g. a legacy domain by pointing DNS to the static web app and then redirect to a new http url (e.g. a section on a new site)
But I can't find anywhere something similar to Apache's virtual host matching. That would allow to use one static web app to redirect for multiple legacy domains to multiple new http urls
```
{
"routes": [
{
"host": "legacy1.mydomain.com",
"route": "/*",
"redirect": "https://www.mydomain.com/legacy1",
"statusCode": 301
},
{
"host": "legacy2.mydomain.com",
"route": "/*",
"redirect": "https://www.mydomain.com/legacy2",
"statusCode": 301
}
]
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.