Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples,
fixtures, names, addresses — is modelled on any particular
reader or author's real life, network, or organisations.
The lab's hosts use
example.comnames and loopback addresses only. - Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 13 names what the tool
cannot do: one machine and one nginx with no clustering or
failover, Docker assumed throughout the design (with the
seams the lab met when it ran the parts outside Docker —
hard-coded
/datapaths and a reload with no managed nginx to receive it), a single-file SQLite database as the default ceiling, certificate physics (reachability proofs, 90-day lifetimes, rate limits, DNS-only wildcards), blunt name-blind streams, and an interface that reports the results of its own tests rather than end-to-end truth. - The ethics rule is in the text, early. Chapter 1 states it before any procedure depends on it: NPM is for services you own or administer; the admin interface is a master key and gets a strong unique password, two-factor authentication, and no public exposure — port 81 stays off the internet; publishing a name publishes it, because certificates are announced in public transparency logs; and DNS API tokens used for certificate challenges are credentials, to be scoped and guarded like passwords. Chapter 10 turns the same rule into settings.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox (4
CPUs visible, memory shared with other work), with no
containers, no UDP, no systemd — and NPM's normal path is a
Docker container. The lab therefore ran the project's own
parts natively, from the official release source:
Nginx Proxy Manager v2.16.0 (published 2026-09-24;
source tarball SHA-256
9a17ca898a6f8d4eb417f471269325acf43fa3be108abd44c9ebeee55cad1f7e,
transcript t01). The backend ran under Node v24.22.1
against a SQLite database (better-sqlite3 via knex); the
admin interface was built from the same source with Vite.
The sandbox's nginx is 1.24.0 (Ubuntu).
The lab copy differs from the release by recorded patches
only, preserved in nginx-proxy-manager-lab/lab-patches.diff
(and transcript t19): every hard-coded /data, /etc/letsencrypt
and ip-ranges path in the backend's JavaScript was repointed
into the lab folder, and its fixed listen port 3000 was moved
to the lab's assigned port; for the final test the listen
target was changed again, to a Unix socket, so a standalone
nginx could front it on that same port. The templates that
generate nginx configuration were not patched — which is
why generated files still speak of /data/... inside, exactly
as production files do. Certbot was not present in the sandbox
(transcript t12). IP-range fetching was disabled
(IP_RANGES_FETCH_ENABLED=false) so the run was deterministic;
in production it downloads public IP ranges for nginx's
real-IP configuration.
Run for real, with transcripts as evidence:
- Environment, tool versions, and the release's identity (t00, t01). Backend dependencies installed unmodified — 369 npm packages — and the native modules (better-sqlite3, bcrypt) loaded and exercised (t02, t03).
- Backend startup from cold: the full migration set applied to a fresh SQLite file, default settings added, the Let's Encrypt renewal timer initialised and completing a round, and the listening line — plus one cosmetic warning about a logrotate file that only exists inside the Docker image (t04).
- API health before and after setup (t05, t06); the old
pre-v2.16 default password (
admin@example.com/changeme) tried and refused — v2.16.0 has no default login (t05). - First administrator created through the unauthenticated
setup flow (HTTP 201,
roles:["admin"], full permission set), thesetupflag flipping to true, and a login returning an RS256 token (t06). The backend generated its ownkeys.jsonanddatabase.sqlitein the lab's data folder (t07). - A proxy host created through the API: the record persisted
and the backend generated its nginx file, preserved at
nginx-proxy-manager-lab/generated/proxy_host-1.confand read in chapter 6 (t07). The create request returned HTTP 500 at the reload step — nginx's own words,invalid PID number "" in "/run/nginx.pid", because no NPM-managed nginx master was running — while the host's record shows the config test step passed (nginx_online: true) (t08). In the Docker install the companion nginx is always running and this step succeeds; the guide says so where it tells the story. - A redirection host created the same way, its smaller
generated file preserved and read (t11);
GET /users/meand the empty certificate list (t11). - The generated files validated by a real nginx: a
standalone harness mirroring the production main config's
maps and log formats includes both generated files, as
production does. Two recorded adjustments were needed —
/datapaths repointed to the lab (t09), and thehttp2 off;line removed for the sandbox's nginx 1.24.0, which predates that directive (added in nginx 1.25.1; off is the default, so meaning is unchanged) — after whichnginx -tanswered syntax is ok … test is successful for the proxy host (t10) and for both files together (t12, t13). - The admin interface built from source: the dependency
install failed three recorded ways (npm's arborist error;
two yarn fetch failures) before succeeding with
npm install --legacy-peer-deps(386 packages) (t14, t15); the locale files had to be generated with the project's ownlocale-compilestep before TypeScript would pass (t16, t17); the production build then produced a 4.2 MBdistwhose title is "Nginx Proxy Manager" (t18). - The full stack wired as the Docker image wires it: nginx
serving the built interface and proxying
/api/to the backend (over a Unix socket in the lab, TCP inside the image). First attempt failed on file/socket permissions for nginx's worker user (t20, t20b); with the harness nginx running its workers as the lab's user, the UI answered 200 with its bundle, the health check passed through, a login token was issued through the UI's own path, and the proxy host listed through it (t21).
Documented only — described from the project's documentation, not run, and the text does not claim otherwise:
- The Docker install itself (chapter 3): the Compose file is the project's own, but no container ran in this sandbox. The reader's checks for it are the interface loading and the container tools' output, both named in the chapter.
- Let's Encrypt issuance and renewal against the real service, both challenge types, and everything that depends on a public name and a reachable port 80 (chapter 8). The renewal timer ran; no certificate was ever requested.
- Live traffic through a generated host: the sandbox had one assigned port, spent on the interface, so no generated server block ever bound a listener. The generated files were parser-validated by nginx instead (above).
- Streams, including all UDP forwarding (chapter 9) — the sandbox has no UDP. Dead hosts are described from the same generation machinery the lab did exercise.
- Access lists enforced against a live request (chapter 10's three-status-code check is the reader's to run), multi-user screens and the audit log beyond the permission records the API returned (chapter 11), and the neighbours of chapter 12 — characterised, not benchmarked.
Fixtures are this guide's own and deliberately generic:
app.example.com and old.example.com /
new.example.com, a loopback forward target, and an invented
administrator (admin@example.com) with a lab-only password
that appears in the transcripts and nowhere else. No real
domain, service, or network is named or modelled.