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

   @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"
       ]
     ]


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