fjs-icu commented on issue #6171: URL: https://github.com/apache/apisix/issues/6171#issuecomment-1017523535
@zaunist Thank you very much : > "hosts": [".test1.com"], > "uris": [ "/v1/"], > "priority": 10 > "hosts": ["a.test1.com"], > "uris": ["/*"], > "priority": 1 ret: [20/Jan/2022:13:35:42 +0000] a.test1.com "HEAD /v1/a HTTP/1.1" 502 0 0.001 "-" "curl/7.29.0" 192.168.0.3:8082 502 0.001 "http://a.test1.com" The result is correct ; ok ok . but priority : If different routes contain the same uri, determine which route is matched first based on the attribute priority. Larger value means higher priority. The default value is 0.  -- 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]
