3 ms·
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 re
by caleblloyd 8y ago
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.html http://nginx.org/en/docs/http/ngx_http_auth_request_module.h...
- bedis9 8y agoBut 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...
- Erwin 8y agoThanks, nginx looks promising, either through this lighter weight integration, or by writing something similar with LUA and OpenResty/Kong.