-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect 301, 302, 308 #1009
Comments
Hello, |
here is something from envoy, I hope this is clear "route_config": {
"name": "local_route",
"virtual_hosts": [
{
"name": "all-international",
"domains": ["sang.international","*.sang.international"],
"routes": [
{
"match": {
"prefix": "/"
},
"redirect": {
"host_redirect": "sang.agency"
}
}
]
}
]
},
|
@FlorentinDUBOIS I think it's something like matching subdomain request and route to the specific port or url, and I also needing that |
Sorry for the late response, I miss the notification. So, we already have implemented the wildcard matching pattern using or not path prefix, equals or regex. However, we do not have a redirect feature yet. |
@Wonshtrum is the redirect feature easy to implement? |
should implement that feature, waiting for it. |
The redirection itself is quite straightforward, but I'm not quite sure about the integration with the tooling: command line, config.toml, protobuf messages... |
Match URI, then redirect to another.
The text was updated successfully, but these errors were encountered: