fjs-icu commented on issue #6171: URL: https://github.com/apache/apisix/issues/6171#issuecomment-1017508559
@zaunist curl http://127.0.0.1:80/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "upstream": { "nodes": { "192.168.0.3:8081": 1 }, "type": "roundrobin" }, "hosts": ["*.test1.com"], "uris": [ "/v1/*"], "priority": 1 }' curl http://127.0.0.1:80/apisix/admin/routes/2 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "upstream": { "nodes": { "192.168.0.3:8082": 1 }, "type": "roundrobin" }, "hosts": ["a.test1.com"], "uris": ["/*"], "priority": 10 }' a.test1.com set priority 10 192.168.0.3:8082 but: //# curl -I http://a.test1.com/v1/a [20/Jan/2022:13:30:12 +0000] a.test1.com "HEAD /v1/a HTTP/1.1" 502 0 0.001 "-" "curl/7.29.0" 192.168.0.3:8081 502 0.000 "http://a.test1.com" Higher priority routes no matched -- 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]
