I have nginx
installed, and I want to use the built-in auth-basic module to authenticate on 2 different folders. Each folder should have its own user & password lists.
For this i created 2 locations in the nginx config, and specified auth_basic_user_file for each of the defined locations.
Ex: /torrents/ is a proxy for a local install of transmission
, and /admin/ is an administration interface developed by me.
The problem is that if i authenticate in one location it will log me out from the other location.