Api Gateway与Kong和Nginx一起部署

时间:2018-09-12 12:36:30

标签: nginx api-gateway kong

我的Kong Api网关存在此问题- 经过所有配置和测试后 我能够成功执行此操作:

  

curl -i -X GET --url http://localhost:8000 --header 'Host: api.saviourgidi.com'

我收到了这个json响应{"hello": "test"},表明它工作正常。

-现在我想将其部署到客户端不使用curl或httpie的生产环境中-

我可以使用nginx部署它吗?

>```
{
  // how do I translate this curl command to nginx so that nginx would serve the api.
}

1 个答案:

答案 0 :(得分:0)

Kong是在 NGINX上构建的,因此您不必将其与NGINX一起部署。 :)

您是否在问如何在Kong前面使用负载均衡器?