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/07/30 08:27:43 UTC

[GitHub] [incubator-apisix] spjiang opened a new issue #1939: request help:

spjiang opened a new issue #1939:
URL: https://github.com/apache/incubator-apisix/issues/1939


   ### Issue description
   curl http://127.0.0.1:9080/apisix/admin/routes/10 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   {
       "uri": "/index.html",
       "hosts": ["127.0.0.1"],
       "remote_addrs": ["127.0.0.0/8"],
       "methods": ["PUT", "GET"],
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "127.0.0.1:80": 1
           }
       }
   }'
   
   ![image](https://user-images.githubusercontent.com/8924638/88897705-4eeba600-d27e-11ea-92ac-ada0b869810f.png)
   
   
   ### Environment
    本地docker 部署
   
   * apisix version (cmd: `apisix version`):1.4.1
   * OS:mac
   


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



[GitHub] [incubator-apisix] spjiang commented on issue #1939: request help:

Posted by GitBox <gi...@apache.org>.
spjiang commented on issue #1939:
URL: https://github.com/apache/incubator-apisix/issues/1939#issuecomment-666270473


   ![image](https://user-images.githubusercontent.com/8924638/88909550-da206800-d28d-11ea-994a-426f1b9b2f6b.png)
   报403错误
   解决方式:
   ![image](https://user-images.githubusercontent.com/8924638/88909588-e5739380-d28d-11ea-9dd4-3091e3322ca2.png)
   


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