-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
request help: property "hosts" validation failed: failed to validate item #6142
Comments
AFAIK, not support yet, you can design a custom plugin to achieve this. |
Can you provide an train of thought. i have many services, such as xx*.xx.com/a -> a, xx*.xx.com/b -> b, this requires global plug-ins, I don't think it's a good solution. |
I modified the radixtree_host_uri.lua source code, when insert host routes, the original logic is to reverse the host. I add a property in route. when it is turned on, the last one reverse once again, for example, host is test*.baidu.com, it will become moc.udiab.test*. |
Hello there, seems we have a solution here. |
@juzhiyuan Considered solved. Feel free to reopen it if needed. |
Issue description
my route host is engine*.cacazhu.com ,Can support begin xxx*.xxxx.com?
Environment
apisix version
):uname -a
): 2.10.3nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):The text was updated successfully, but these errors were encountered: