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

ssaravalli nginx-forum at nginx.us
Fri Sep 2 06:09:06 UTC 2011


Hello Maxim

Maxim Dounin Wrote:
-------------------------------------------------------
> 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.

ok, trank you

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

I'll try with this solution. Thank you for your reply!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214550,214642#msg-214642



More information about the nginx mailing list