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/06/28 08:33:01 UTC

[GitHub] [apisix-ingress-controller] Caelebs edited a comment on issue #561: request help: How to configure Ingress to make browser requests reach the backend through Ingress

Caelebs edited a comment on issue #561:
URL: https://github.com/apache/apisix-ingress-controller/issues/561#issuecomment-869478498


   > @Caelebs The `404` page doesn't look like an artifact of Apache APISIX, even if the route rules are not in effective, what we should see is a J string with contents like "404 Route Not Found".
   > 
   > I saw you execute the `curl` command in the apisix pod, have you ever tried to execute this command on your local environment?
   
   I tried it, but there seems to be no response because it says connection refused. I don't know how to do it next...
   @tokers 
   
   ```
   -> curl http://local.nginx.org/aaa
   curl: (7) Failed connect to local.nginx.org:80; Connection refused
   ```
   
   ```
   ➜  [/srv/yaml] kubectl exec -it -n apisix-ws apisix-7b9bc99d4b-cht6j -- curl http://127.0.0.1:9080/aaa -H 'Host: local.nginx.org'
   Server address: 179.10.62.206:16666
   Server name: nginx-plain-v1-884978c4-6mgk2
   Date: 28/Jun/2021:08:32:04 +0000
   URI: /aaa
   Request length: 216
   Scheme: http
   Remote user: 
   Request ID: 3a48906666bef78bb2a0f47abbd83d5f
   ```


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