From 24715d92c46360e176c0f7324d2341f427a7e98f Mon Sep 17 00:00:00 2001 From: Yuansheng Wang Date: Mon, 3 Jun 2019 17:36:53 +0800 Subject: [PATCH] doc: used aliyun as example case. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 390f1f81..90acaf72 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ For the convenience of testing, we set up a maximum of 2 visits in 60 seconds, a curl http://127.0.0.1:2379/v2/keys/apisix/routes/1 -X PUT -d value=' { "methods": ["GET"], - "uri": "/hello", + "uri": "/index.html", "id": 1, "plugin_config": { "limit-count": { @@ -93,15 +93,14 @@ curl http://127.0.0.1:2379/v2/keys/apisix/routes/1 -X PUT -d value=' "upstream": { "type": "roundrobin", "nodes": { - "220.181.57.215:80": 1, - "220.181.57.216:80": 1 + "39.97.63.215:80": 1 } } }' ``` ```shell -$ curl -i -H 'Host: baidu.com' http://127.0.0.1:9080/hello +$ curl -i http://127.0.0.1:9080/index.html HTTP/1.1 302 Found Content-Type: text/html; charset=iso-8859-1 Content-Length: 222