Hello,
my brand new nginx worked great up to the point when I have enabled digest authentication to the /munin location.
I have re-created the digest file with
/usr/local/etc/nginx/htdigest is owned by user www and group www, I had
Nginx config snippet:
my brand new nginx worked great up to the point when I have enabled digest authentication to the /munin location.
I have re-created the digest file with
htdigest -c /usr/local/etc/nginx/htdigest private myusername, but on every web access nginx crashes. After logging in, I get this in the logs:
Code:
2020/01/30 16:24:18 [info] 14776#100094: *16 sucessful auth, not tracking, client: 2a07:59e6:ee02:ffff:ffff:ffff:a3dc:69e7, server: munin.example.org, request: "GET /munin/ HTTP/2.0", host: "munin.example.org"
2020/01/30 16:24:18 [alert] 14482#100183: worker process 14776 exited on signal 6
/usr/local/etc/nginx/htdigest is owned by user www and group www, I had
chmod'ed it to 0660 before I tried.Nginx config snippet:
Code:
location /munin/ {
alias /usr/local/www/munin/;
auth_digest 'private';
auth_digest_user_file '/usr/local/etc/nginx/htdigest';
}