Auth_digest not working

Matthias Fechner idefix at fechner.net
Sat Jul 30 16:03:47 UTC 2016


Dear all,

I have a very simple webserver running with php-fpm connected (to handle
php scripts).
It is running perfectly fine without authentication (on a FreeBSD
installation).

If I enable auth_digest (which is enabled in the FreeBSD port I
compiled), I see only in the main error log the line:
2016/07/30 17:55:54 [alert] 7280#102036: worker process 7318 exited on
signal 11


The configuration is:
server {
        listen 127.0.0.1:8082 proxy_protocol;
        listen 127.0.0.1:8083 http2 proxy_protocol;

        add_header Strict-Transport-Security "max-age=15768000;
includeSubdomains; preload" always;
        client_max_body_size 10G;
        client_body_buffer_size 128k;
        fastcgi_buffers 64 4K;

        server_name <fqdn>;

        root /usr/home/http/<fqdn>/html;

        access_log /usr/home/http/$host/logs/access.log;
        error_log /usr/home/http/<fqdn>/logs/error.log debug;

        auth_digest_user_file /usr/home/http/default/htdigest.passwd;
        auth_digest 'partdb';

        location / {
                try_files $uri $uri/ @partdb;
        }

        location @partdb {
                rewrite ^/(.*) /index.php?id=$1&$args last;
        }

        location ~ \.php(?:$|/) {
                include fastcgi_params;
                fastcgi_pass php-handler;
        }
}

Does anyone have an idea, why auth_digest causes a complete not working virtualhost?


Thanks
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




More information about the nginx mailing list