You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/18 05:52:09 UTC

[GitHub] [apisix] kongjun01 opened a new issue #6142: property "hosts" validation failed: failed to validate itemrequest help:

kongjun01 opened a new issue #6142:
URL: https://github.com/apache/apisix/issues/6142


   ### Issue description
   
   my route host is engine*.cacazhu.com ,Can support begin xxx*.xxxx.com?
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`): 2.10.3
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 edited a comment on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 edited a comment on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1015096991


   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.
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 edited a comment on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 edited a comment on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1015096991


   Can you provide an train of thought.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] juzhiyuan closed issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #6142:
URL: https://github.com/apache/apisix/issues/6142


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 commented on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 commented on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1015096991


   oh , no, but, thank you anyway.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 commented on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 commented on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1016147352


   I modified the radixtree_ host_ uri.lua source code,  when insert host_ In routes, the original logic is to reverse the host. I add a property in route. when it is turned on, the last host is in reverse order, for example, host is test*.baidu.com, it will become moc.udiab.test*.
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 edited a comment on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 edited a comment on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1016147352


   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*.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] leslie-tsang commented on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
leslie-tsang commented on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1022751075


   Hello there, seems we have a [solution](https://github.com/api7/lua-resty-radixtree/issues/112) here.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] leslie-tsang commented on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
leslie-tsang commented on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1030812677


   @juzhiyuan Considered solved. Feel free to reopen it if needed.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 edited a comment on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 edited a comment on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1016147352


   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*.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kongjun01 edited a comment on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
kongjun01 edited a comment on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1015096991


   Can you provide an train of thought. i have many services, such as xx*.xx.com/a -> a, xx*.xx.com -> b, this requires global plug-ins,  I don't think it's a good solution.
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] leslie-tsang commented on issue #6142: request help: property "hosts" validation failed: failed to validate item

Posted by GitBox <gi...@apache.org>.
leslie-tsang commented on issue #6142:
URL: https://github.com/apache/apisix/issues/6142#issuecomment-1015094788


   AFAIK, **not support yet**, you can design a custom plugin to achieve this.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org