Welcome! Log In Create A New Profile

Advanced

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

Maxim Dounin
September 01, 2011 10:52AM
Hello!

On Thu, Sep 01, 2011 at 10:19:57AM -0400, ssaravalli wrote:

[...]

> So, is there a way to tell NGINX to manage only the first authentication
> level and when the user provides username/password (LDAP) for the
> backend web app, these credentials must be managed by the backend web
> server?

There is no levels of authentication possible in HTTP
authentication.

More strictly, there are two levels: proxy and client. The
proxy level is reserved to working with proxies, and it's not
generally possible to use it anywhere else (additionally, I
believe it's not supported by majority of software).

Please refer to RFC 2616 and RFC 2617 for more details.

> Another solution may be to keep on the backend the LDAP auth and on the
> frontend (NGINX) a form based authentication?

This should work.

Maxim Dounin

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

Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

ssaravalli August 31, 2011 06:07AM

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

Brane F. Gračnar August 31, 2011 06:48AM

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

ssaravalli August 31, 2011 07:15AM

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

Igor Sysoev August 31, 2011 08:28AM

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

ssaravalli September 01, 2011 10:19AM

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

Maxim Dounin September 01, 2011 10:52AM

Re: Issue with NGINX as reverse proxy with basic auth in front of Apache with basic auth

ssaravalli September 02, 2011 02:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
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