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 2019/12/07 21:19:48 UTC

[GitHub] [incubator-apisix] sshniro edited a comment on issue #930: request help: Doc on Getting Started guide for APISIX

sshniro edited a comment on issue #930: request help: Doc on Getting Started guide for APISIX
URL: https://github.com/apache/incubator-apisix/issues/930#issuecomment-562881472
 
 
   Thank you for the reply, according to the doc I removed the protocol (https) and only added the address and port. But still, APISIX is giving me a 502 gateway error.
   ![image](https://user-images.githubusercontent.com/13045528/70379919-d8d3b100-1933-11ea-82fb-3237a726c18c.png)
   
   ```
   curl http://127.0.0.1:9080/apisix/admin/routes/777 -X PUT -i -d '
   {
       "uri": "/",
       "host": "httpbin.org",
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "httpbin.org:443": 1
           }
       }
   }'
   ```
   
   `curl -i http://127.0.0.1:9080/ -H "Host: httpbin.org" -X GET`
   
   Should I specify the protocol somewhere else? or should the APISIX also hosted inside a HTTPS environment to access external https endpoints?

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


With regards,
Apache Git Services