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
Subject Author Posted

[ANNOUNCE] auth request module

Maxim Dounin February 27, 2010 02:06PM

Re: [ANNOUNCE] auth request module

agentzh February 28, 2010 01:14AM

Re: [ANNOUNCE] auth request module

Valery Kholodkov March 01, 2010 04:40AM

Re: [ANNOUNCE] auth request module

agentzh March 11, 2010 05:10AM

Re: [ANNOUNCE] auth request module

amvtek March 11, 2010 12:04PM

Re: [ANNOUNCE] auth request module

Maxim Dounin March 11, 2010 12:40PM

Re: [ANNOUNCE] auth request module

amvtek March 12, 2010 02:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 257
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready