Skip to content

docs: add NPM Auth Gateway to third-party integrations#5403

Open
Mark0025 wants to merge 1 commit intoNginxProxyManager:developfrom
Mark0025:docs/add-npm-auth-gateway
Open

docs: add NPM Auth Gateway to third-party integrations#5403
Mark0025 wants to merge 1 commit intoNginxProxyManager:developfrom
Mark0025:docs/add-npm-auth-gateway

Conversation

@Mark0025
Copy link

What This PR Does

Adds NPM Auth Gateway to the third-party integrations page, with a dedicated documentation page explaining what it does and how it works.

Why

First — I want to say that Nginx Proxy Manager has been incredible for me. I'm self-hosting 91 Docker containers on a Hetzner homelab, and NPM is the backbone that makes all of it accessible. SSL, reverse proxy, access lists — it just works. I genuinely wouldn't have this setup without your project.

The one thing I kept hitting was user management for access lists. I build tools and want to share them with specific people — a contractor, a business partner, a friend. The workflow was always:

  1. "Hey, what's your IP?"
  2. They send it
  3. I manually add it to the right access list in NPM
  4. Their IP changes (coffee shop, VPN, phone) → repeat

So I built a companion app that solves this. It sits alongside NPM on the same Docker network and uses NPM's REST API to auto-manage IPs. Users log in through an auth provider, the app detects their IP, and adds it to the NPM access lists they've been assigned to.

NPM stays the boss. The app never stores proxy config or access list data — it reads and writes through NPM's API exclusively. If the companion app goes down, NPM keeps enforcing every existing IP whitelist. Zero state duplication.

What's In This PR

  • Added one line to docs/src/third-party/index.md (the integration list)
  • Added docs/src/third-party/npm-auth-gateway.md (dedicated page with architecture, features, API endpoints used)

Who Would Use This

Anyone running NPM who wants to share self-hosted services with other people without manually managing IPs:

  • Homelab users sharing tools with family/friends
  • Small teams giving contractors access to internal services
  • Developers letting clients access staging environments
  • Anyone tired of "what's your IP?" conversations

The app handles the tedious part (IP detection, ACL updates, login logging) while NPM handles the security part (actually enforcing the whitelists at the nginx level).

Links

Thank you for building NPM — it's one of those tools that makes self-hosting actually enjoyable.

— Mark Carpenter | aireinvestor.com

Add NPM Auth Gateway — a companion app that adds user-level access
control with auto IP whitelisting on top of NPM's access list system.

NPM remains authoritative. The gateway only reads/writes through
NPM's REST API. If the gateway goes down, all existing IP whitelists
persist in NPM.

Running in production managing 90+ proxy hosts.
@nginxproxymanagerci
Copy link

Docker Image for build 1 is available on DockerHub:

nginxproxymanager/nginx-proxy-manager-dev:pr-5403

Note

Ensure you backup your NPM instance before testing this image! Especially if there are database changes.
This is a different docker image namespace than the official image.

Warning

Changes and additions to DNS Providers require verification by at least 2 members of the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant