wjx8382 commented on issue #356:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/356#issuecomment-818383007


   @tokers Why does `kubectl exec -it -n tools apisix-7987b5b7f-tmrk7 -- curl 
http://127.0.0.1:9080/headers -H 'Host: local.httpbin.org'` returns 
`{"error_msg":"404 Route Not Found"}`
   ```
   # httpbin-route.yaml
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixRoute
   metadata:
     name: httpserver-route
   spec:
     http:
     - name: rule1
       match:
         hosts:
         - local.httpbin.org
         paths:
         - /*
       backend:
         serviceName: httpbin-85d57ddd75-wtmwh
         servicePort: 80
   ```


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

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


Reply via email to