Hi all!
My YunoHost server
Hardware:: NUC
YunoHost version: testing
I have access to my server : Through SSH, through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Recentlyish, within the last couple of weeks, noticed that nginx basic_auth for creating password protected areas has stopped working.
Applies to a fodler in a “My Webapp” instance.
Added password access as follows in the /etc/nginx/conf.d/ file for that instance:
location /packages/rms-public/ {
fancyindex on;
fancyindex_exact_size off;
auth_basic "Access to RMS Public Packages is restricted.";
auth_basic_user_file /etc/nginx/auth/apt-packages_rms-public;
}
I’ve noticed the password popup doesn’t show the “auth_basic” message anymore, and regardless of password supplies, gives a 401 error.
This is what I see in the log
2023/01/23 12:04:34 [error] 369823#369823: *1 [lua] helpers.lua:386: authenticate(): Connection failed for: rms_public, client: 199.111.240.162, server: apt.dustin-widmann.com, request: "GET /packages/rms-public/ HTTP/2.0", host: "apt.dustin-widmann.com", referrer: "https://apt.dustin-widmann.com/packages/"
I was pointed here by another user, and followed the recommendation (e.g. upgrade to testing), but it didn’t resolve this issue.