http digest + proxy doesn't work on /something?x=3?

Jacek Wielemborek d33tah at gmail.com
Mon Sep 28 14:24:21 UTC 2015


List,

It took me a while to actually find this mailing list; I have a question
regarding HTTP digest nginx module in combination with proxy_pass. I
tried the attached configuration file in combination with nginx-1.6.3
and kept getting asked for password infinitely when I try to accept any
resource other than /. How can this problem be solved?

I asked the same question on serverfault.com once:
http://serverfault.com/q/717235/143824

Thanks,
d33tah	
-------------- next part --------------
worker_processes  1;

events {
    worker_connections  1024;
}

daemon off;


http {

    error_log stderr debug;

    keepalive_timeout  65;

    gzip  on;

    server {
        auth_digest_user_file digest;
        listen       9996;
        server_name  some.domain.net;
        auth_digest 'Realm';
        location / {
        proxy_pass http://127.0.0.1:8000;
        }
    }

}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150928/89f59403/attachment.bin>


More information about the nginx mailing list