theweakgod commented on issue #10531:
URL: https://github.com/apache/apisix/issues/10531#issuecomment-1833261006

   > @DokiDoki1103 Did you try to configure host=8.130.141.31 instead of 
host=8.130.141.31:7070? I don't think it's a good practice to add port matching 
in host because I feel it can lead to confusion and it's not necessary for most 
cases. If what you need is server port filter, a possible workaround way is 
like this:
   > 
   > "uri": "/*", "host": "8.130.141.31", "vars": [ [ "server_port", "==", 
"7070" ] ]
   
   If the host contains port, then it will match the host, otherwise it will 
not match. I think this design will be more suitable for you.
   you can check this pr 
[#139](https://github.com/api7/lua-resty-radixtree/pull/139)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to