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 2020/04/21 16:00:31 UTC
[GitHub] [incubator-apisix] membphis edited a comment on issue #1479: docker run apisix1.1, The error.log file keeps outputting warn logs
membphis edited a comment on issue #1479:
URL: https://github.com/apache/incubator-apisix/issues/1479#issuecomment-617255366
> 6 curl http://localhost:9080/hello
> response:
your response is correct because you do not start an upstream server which listens on the 1980 port.
you can make a try with this example.
and you make a test with `curl -i http://127.0.0.1:9080/` and `curl -i http://127.0.0.1:9080/js/fresh.js`. it works fine at my local machine.
```yaml
routes:
-
uri: /
plugins:
proxy-rewrite:
host: iresty.com
upstream:
nodes:
"iresty.com:80": 1
type: roundrobin
-
uri: /js/fresh.js
plugins:
proxy-rewrite:
host: iresty.com
upstream:
nodes:
"iresty.com:80": 1
type: roundrobin
#END
```
----------------------------------------------------------------
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:
users@infra.apache.org