Skip to content

What Nginx Proxy Manager Is

You run a service on your network — say a media server on the machine in the corner. It answers at an address like 192.168.1.50:8090: an IP address to remember, a port to type, and plain HTTP, so anything sensitive crosses your network unencrypted. Multiply by every service you run and the result is a notebook full of numbers.

A reverse proxy fixes the shape of the problem. It is a single front door: visitors arrive at the proxy using a proper name (media.example.com) over proper HTTPS, and the proxy passes each request onward to the right service behind it, then carries the answer back. The services keep their awkward addresses; only the proxy needs a nice one. The web server most often used as that front door is nginx — fast, dependable, and configured through text files that are powerful and unforgiving in equal measure.

Nginx Proxy Manager is a control panel for that front door. You open its admin interface in a browser — by default on port 81 of the machine running it — and you manage proxy hosts: records that say the name media.example.com goes to the machine at 192.168.1.50, port 8090. For each record, NPM writes the nginx configuration file, asks nginx to test it, and tells nginx to load it. You never touch the configuration yourself unless you want to. The same interface handles HTTPS certificates from Let's Encrypt (the free certificate authority), so the name you just created can get its padlock in the same sitting, and renewals happen on a timer afterwards without you.

Three consequences of that design are worth fixing in your mind now, because the rest of the guide leans on them.

First, the form is not the truth — the generated file is. NPM is a generator: what nginx actually does is written in files under /data/nginx/proxy_host/, one per host. When something behaves oddly, that file is where the answer lives, and chapter 6 teaches you to read it.

Second, the admin interface is a high-value target. A login to NPM is, in effect, a login to the front door of every service behind it: whoever holds it can point your names at other machines or slip a password gate off a sensitive dashboard. That is why this guide puts its security rule early, here in chapter 1: run NPM only for services you own or administer, give the admin interface the same care as any master key — a strong unique password, two-factor authentication (chapter 11), and no exposure to the public internet unless you have a reason and a plan — and remember that publishing a name publishes it: a certificate and a DNS record announce to the world that the service exists. None of that is a reason to avoid NPM; it is the price of the convenience, stated before any procedure depends on it.

Third, NPM is one machine, one nginx. It is a home-and-small-team tool. It does not cluster, it does not balance load across a fleet, and its database is a single file unless you deliberately give it a bigger one. Chapter 13 draws that boundary in full.

The check for this chapter: you can state, in one sentence each, what a reverse proxy does, what NPM adds on top of nginx, and why the admin login deserves master-key care. The lab behind this guide verified the shape empirically: it filled in the equivalent of the form through NPM's API and then read the file that came out (transcripts t07 and t08) — form in, configuration out, exactly as described.