API gateway for API service written with nginx and lua