Kong allows developers to reduce complexity and deployment times in implementing an API solution on NGINX.
Owen Garrett, NGINX Head of Products
After installing and starting Kong, use the Admin API on port 8001 to add a new API. Kong will route every incoming request with the specified public DNS to the associated target URL.
Then add extra functionality by using Kong Plugins. You can also create your own plugins.
...and then you can consume the API on port 8000 by requesting the public DNS specified. In production point the public DNS to Kong. It also supports URL path routing.
$ curl -i -X POST \
--url http://localhost:8001/apis/ \
--data 'name=example-api' \
--data 'hosts=example.com' \
--data 'upstream_url=http://example.com'
$ curl -i -X POST \
--url http://localhost:8001/apis/example-api/plugins/ \
--data 'name=rate-limiting' \
--data 'config.minute=100'
$ curl -i -X GET \
--url http://localhost:8000/ \
--header 'Host: example.com'