agentzh agentzh at
Tue Aug 10 06:58:03 MSD 2010

On Mon, Aug 9, 2010 at 8:23 PM, Maxim Dounin <mdounin at> wrote:
> You may want to try this one:
> It's non-blocking and you are free to code any
> authentication/authorization backend.

This auth_request module can now be combined with our ngx_lua module
and thus can be further combined with our ngx_drizzle module to access
mysql to do the actual lookup.

See the TEST 4 and TEST 5 cases in the ngx_lua module's test suite for
sample configurations to combine ngx_http_auth_request with ngx_lua:

And see the following example (TEST 14) to capture subrequests'
responses in Lua:


More information about the nginx mailing list