News for hackers. Stuff that matters.
Re:Using HAProxy as an API Gateway, Part 1 by caleblloyd on Tuesday October 02, 2018 @10:25PM (#18127219)
You can use the `auth_request` module in NGINX to create a subrequest to an HTTP service that does authentication and/or dynamic routing.

The subrequest can return response headers that are available in `$upstream_http_*` variables, which can br used to dynamically route the original request.

http://nginx.org/en/docs/http/ngx_http_auth_request_module.h...

Re:Using HAProxy as an API Gateway, Part 1 by Erwin on Wednesday October 03, 2018 @07:41AM (#18129277)
Thanks, nginx looks promising, either through this lighter weight integration, or by writing something similar with LUA and OpenResty/Kong.
Re:Using HAProxy as an API Gateway, Part 1 by bedis9 on Wednesday October 03, 2018 @06:41AM (#18129036)
But nginx does not do basic load balancing related features such as health checking, persistence (some apps still need that), DNS service discovery, stats, observability, etc...