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 > > backenby ssaravalli - Nginx Mailing List - English
Igor Sysoev Wrote: > > You should > 1) use either the same user/password on both nginx > and Apache, It's not possible in my situation. NGINX uses basic auth based on a file, while Apache uses basic auth through LDAP. > 2) or enable authentication only on one host: on > nginx OR Apache, I can't because I need two layer of authentication. The first one on NGINX andby ssaravalli - Nginx Mailing List - English
Brane F. Gračnar Wrote: ------------------------------------------------------- > > You're removing Authorization request header > before sending request to Apache > server. That's why Apache cannot authenticate > user. > > Comment-out the following line and try again: > > proxy_set_header Authorization ""; > Hello Brane and thank yby ssaravalli - Nginx Mailing List - English
Hello to everybody, my name is Simone Saravalli and I'm new to NGINX world. This is my problem: I set up NGINX as a reverse proxy to a backend server with Apache. On NGINX side I configured basic authentication for / location: location / { auth_basic "Restricted"; auth_basic_user_file /etc/nginx/htpasswd; proxy_pass hby ssaravalli - Nginx Mailing List - English