r/nginxproxymanager • • Oct 29 '26

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

5 Upvotes

8 comments sorted by

2

u/KeithHanlan Oct 29 '26

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.

1

u/mtftl 28d ago

Not all heroes wear capes. Thanks to you and the two posters. I’ve had this problem for ages on BW and always thought “that sucks,” never looking for a fix. You rock.

13

u/cdazzo1 Oct 29 '26

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 Oct 29 '26

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 Oct 29 '26

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

u/lostboy4480 Oct 29 '26

I believe the option in Lastpass is settings Exact Host Match to yes

2

u/jc-21 Oct 30 '26

And same with 1Password.

1

u/Vet_vrolijk Oct 29 '26

Same issue with Proton Pass