Welcome! Log In Create A New Profile

Advanced

Re: Nginx & Digest authentication

Maxim Dounin
August 11, 2015 01:44PM
Hello!

On Tue, Aug 11, 2015 at 01:49:37PM +0000, Arun John (arujohn) wrote:

> The “get” requests were failing and nginx was not forwarding the headers
> required for the authentication. The result was same as before. I have
> shared the configs. May be I am missing some minor configurations?

Please define "the headers required for the authentication". If
you think some headers are not passed, it would be good idea to
look into what happens on the wire to be specific. Debug log
should be enough to see detailed info about headers send/received,
see here:

http://nginx.org/en/docs/debugging_log.html

Altrenatively, you can use tcpdump to see what actually happens on
the wire.

Note though, that Digest authentication can be easily screwed up
by URI changes. Your configuration suggests that you are trying
to change some URIs. Make sure you aren't testing with these URIs
you are trying to change. Or, better yet, try with just
proxy_pass and nothing more, as initially suggested.

--
Maxim Dounin
http://nginx.org/

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

Nginx & Digest authentication

Arun John (arujohn) August 10, 2015 11:36PM

Re: Nginx & Digest authentication

Maxim Dounin August 11, 2015 09:10AM

Re: Nginx & Digest authentication

Arun John (arujohn) August 11, 2015 09:32AM

Re: Nginx & Digest authentication

Edho Arief August 11, 2015 09:38AM

Re: Nginx & Digest authentication

Arun John (arujohn) August 11, 2015 09:50AM

Re: Nginx & Digest authentication

Maxim Dounin August 11, 2015 01:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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