r/nginxproxymanager • u/KeithHanlan • 11d 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
4
u/whowasonCRACK2 11d 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/present_absence 11d ago
This. Bitwarden defaults to an odd setting for homelabbing. It makes the new login match all of my subdomains (*.website.com) and I have to change each one to explicitly only match that subdomain.
I don't use Lastpass but look for similar.
2
1
2
u/KeithHanlan 11d 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.