jagerzhang commented on issue #11421:
URL: https://github.com/apache/apisix/issues/11421#issuecomment-2277037009

   > @jagerzhang
   > 
   > Welcome :D
   > 
   > > @zhoujiexiong thanks a lot
   > > It seems I have misunderstood. I have always thought that the domain 
name in the service has a lower priority than the domain name in the route, and 
only serves as a default. Now it seems that the domain name in the service will 
eventually be merged into all routes for match calculation.
   > > What's strange is that this issue only appears now. We have always 
thought this way before, and it also meets our expectations. However, the usage 
situation in our production environment is indeed quite complex, so we won't 
delve into it.
   > 
   > @jagerzhang
   > 
   > Welcome :D
   > 
   > `Now it seems that the domain name in the service will eventually be 
merged into all routes for match calculation.` Not merge, but prioritize to 
route.host[s].
   
   if `Not merge, but prioritize to route.host[s]`, why the route `test1` 
without host matched first? It stands to reason that the matching conditions of 
the routes bound to the domain name are more specific and should be matched 
first.
   
   If the community is sure that's the design, then close the case. I'm just 
confused about the mechanism.
   
   thanks!


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