我对Kong Api Gateway有这个问题 - 在完成所有配置和测试后 - 我能够成功完成此操作:
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.
}
Kong基于NGINX构建,因此您无需使用NGINX进行部署。 :)
您是否在询问如何在Kong前使用负载均衡器?