Welcome! Log In Create A New Profile

Advanced

[ANNOUNCE] auth request module

Maxim Dounin
February 27, 2010 02:06PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

[ANNOUNCE] auth request module

Maxim DouninFebruary 27, 2010 02:06PM

Re: [ANNOUNCE] auth request module

agentzhFebruary 28, 2010 01:14AM

Re: [ANNOUNCE] auth request module

Valery KholodkovMarch 01, 2010 04:40AM

Re: [ANNOUNCE] auth request module

agentzhMarch 11, 2010 05:10AM

Re: [ANNOUNCE] auth request module

amvtekMarch 11, 2010 12:04PM

Re: [ANNOUNCE] auth request module

Maxim DouninMarch 11, 2010 12:40PM

Re: [ANNOUNCE] auth request module

amvtekMarch 12, 2010 02:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 114
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready