Welcome! Log In Create A New Profile

Advanced

Re: user authentication with nginx

Jonathan Matthews
August 19, 2012 06:26PM
On 19 August 2012 22:32, Bob Stanton <farseas@gmail.com> wrote:
> I want to find a secure but simple method for authenticating users in an
> Nginx environment.
>
> I have succeeded in figuring out the auth_basic mod but that does not meet
> my needs.
>
> I specifically want to supply my own form, get the username and PW, check it
> against my DB with a CGI program, and then pass values back to Nginx.

Use proxy_pass (http://nginx.org/r/proxy_pass) or fastcgi_pass
(http://nginx.org/r/fastcgi_pass) to communicate the Auth headers to
your daemon, which should then respond with whatever page you want
your users to see in the event of auth success or failure.

There are many configuration examples for these on the interwebs.

Jonathan
--
Jonathan Matthews
Oxford, London, UK
http://www.jpluscplusm.com/contact.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

user authentication with nginx

Bob Stanton August 19, 2012 05:34PM

Re: user authentication with nginx

Jonathan Matthews August 19, 2012 06:26PM

Re: user authentication with nginx

Bob Stanton August 19, 2012 06:40PM

Re: user authentication with nginx

Francis Daly August 19, 2012 08:50PM

Re: user authentication with nginx

mike August 19, 2012 10:34PM

Re: user authentication with nginx

Javi Lavandeira August 20, 2012 12:46AM

Re: user authentication with nginx

Bob Stanton August 20, 2012 06:44AM

Re: user authentication with nginx

Javi Lavandeira August 20, 2012 07:08AM

Re: user authentication with nginx

Bob Stanton August 20, 2012 08:34AM

Re: user authentication with nginx

Javi Lavandeira August 20, 2012 08:44AM

Re: user authentication with nginx

Bob Stanton August 20, 2012 09:24AM

Re: user authentication with nginx

Javi Lavandeira August 20, 2012 09:34AM

Re: user authentication with nginx

smallfish August 20, 2012 10:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready