r/nginxproxymanager • u/KeithHanlan • 27d ago
nginx-proxy-manager and Password Managers
I have a number of VMs and LXCs published via NPM. It all works great. I can use https://service.mydomain.com for every service and satisfy the browser's desire for a valid TLS certificate.
The annoying thing is that my password manager (Lastpass) seems to use the NPM IP instead of the server name (or server ip) to autofill userid and password. That means that every server has the same list of credentials to choose from rather than properly autofilling the correct credential for each service.
Is this a flaw in Lastpass or in the way that I have configured my proxy hosts?
Thank you
2
u/KeithHanlan 27d ago
Thank you u/cdazzo1 and u/whowasonCRACK2 , that explains the behaviour. I will look for a similar option with Lastpass. I have been meaning to switch to Bitwarden for some time; perhaps this will be my motivation.
13
u/cdazzo1 27d ago
LP is not looking at the IP. It is looking at the URL. I dont use LastPass but on Bitwarden there is an option to associate credentials by base domain (anything with mydomain.com) or by host. Doing it by host will differentiate service1.mydomain.com from service2.mydomain.com
4
u/whowasonCRACK2 27d ago
I use Vaultwarden, not LastPass. But there’s a setting called “match detection” for every url. You can set it to host so it looks for the subdomain to match and not just the mydomain.com bit. Look to see if LastPass has a similar option.
2
u/lostboy4480 27d ago
I believe the option in Lastpass is settings Exact Host Match to yes
2
u/jc-21 27d ago
And same with 1Password.
1
u/Vet_vrolijk 27d ago
Same issue with Proton Pass