Today I enter in my sites which are protected from being accessed with htpasswd in the swag proxy and the sites are exposed unprotected.
I double checked all the .conf files in the proxy-confs folder and the affected services all have the following lines active:
auth_basic "Restricted";
auth_basic_user_file /config/nginx/.htpasswd;
The .htpasswd file is present. I tried to delete it and regenerate the file with the command
docker exec -it swag htpasswd -c /config/nginx/.htpasswd
the file is generated correctly, I restart swag, but nothing changes. How should I proceed? I had to shut down the containers with the unsecured services