Welcome! Log In Create A New Profile

Advanced

NGIX to Apache for Digest Authentication

Gurumurthy Sundar
February 20, 2015 02:48PM
I have a NGINX in front of Apache which has both Basic and Digest authentication turned on. I'd like a set up where a user connects to NGINX (using Basic or Digest) and NGINX simply proxy the request to the Apache where the actual authentication happens. I have the Basic case working but not the Digest. Here's how the config for Basic looks like:

location /basic {

proxy_set_header x-user $http_x_user;
proxy_pass http://my.apache.server; // where authentication happens
proxy_set_header X-Original-URI $request_uri;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

}
Could somebody help me out on how to accomplish the Digest case?


NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGIX to Apache for Digest Authentication

Gurumurthy Sundar February 20, 2015 02:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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