You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/03 15:52:38 UTC

[GitHub] [apisix] tzssangglass commented on a change in pull request #4977: feat: allow route to inherit hosts from service

tzssangglass commented on a change in pull request #4977:
URL: https://github.com/apache/apisix/pull/4977#discussion_r702005542



##########
File path: t/router/radixtree-host-uri2.t
##########
@@ -376,3 +376,39 @@ GET /server_port
 Host: test.com
 --- no_error_log
 [error]
+
+
+
+=== TEST 14: inherit hosts from services
+--- yaml_config eval: $::yaml_config
+--- apisix_yaml
+services:
+  - id: 1
+    hosts:
+      - bar.com

Review comment:
       the service hosts here is `bar.com`, but the host in request is `www.foo.com`,how they match?




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org