[ANNOUNCE] auth request module

Maxim Dounin mdounin at mdounin.ru
Sat Feb 27 22:00:49 MSK 2010


Hello!

Here is auth request module, it allows authorization based on 
subrequest result.  It works at access phase and therefore may be 
nicely combined with other access modules (access, auth_basic) via 
satisfy directive.

Example usage:

    location /private/ {
        auth_request /auth;
        ...
    }

    location = /auth {
        proxy_pass ...
        proxy_set_header X-Original-Uri $request_uri;
        ...
    }

To allow access backend should return 200, to disable - 401/403.  

Further info is here:

http://mdounin.ru/hg/ngx_http_auth_request_module/
http://mdounin.ru/files/ngx_http_auth_request-0.1.tar.gz

MD5 (ngx_http_auth_request-0.1.tar.gz) = c0ed1610097017813e6468e7cca28af7
SHA256 (ngx_http_auth_request-0.1.tar.gz) = ccaafc2afa4b4c98dc2b7555fc61774cfbd4f98edca87eb172ae3ec36a49f263

Maxim Dounin



More information about the nginx mailing list