Self-host Nginx Proxy Manager on a VPS
A web UI for managing Nginx reverse-proxy hosts, redirects, and Let's Encrypt certificates.
levelrail-cli templates deploy nginx-proxy-manager --name my-nginx-proxy-managerSpecification
- Status
- Listed
- Category
- Infrastructure
- Services
- npm
- Ports
- 81
- Volumes
- 2
- Memory
- about 256 MiB
- arm64
- image published
- amd64
- image published
- Settings to fill in
- none
- License
- Permissive license, MIT
About Nginx Proxy Manager
A web UI for managing Nginx reverse-proxy hosts, redirects, and Let's Encrypt certificates. Runs as a single container from the nginx-proxy-manager image, listening on port 81 and keeps its data in named volumes.
What it deploys
Nginx Proxy Manager runs as one service in a single Compose app, listening on port 81, with 2 named volume mounts.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| npm | jc21/nginx-proxy-manager | 2.12.3 | 81 | npm_data -> /datanpm_letsencrypt -> /etc/letsencrypt |
Before you install
- CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
- Listed. It is in the catalog. Back up the data volume before changing an image tag.
- Host ports. It publishes port 81 directly on the host, so open them in the VPS firewall only if you want that.
Settings and environment
You do not have to fill in anything. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| npm | DB_SQLITE_FILE | Preset by the template |
Install Nginx Proxy Manager on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get nginx-proxy-manager -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy nginx-proxy-manager --name my-nginx-proxy-manager
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Nginx Proxy Manager.
Docs and upstream
More in Infrastructure
- NginxThe Nginx web server on the official Alpine image, serving a persistent web root. It starts with the default welcome page; put your site files in the web root volume through the app's Files.
- NetBoxSource-of-truth IPAM and DCIM for tracking IP space, racks, devices, and cabling.
- netboot.xyzNetwork boot menu for installers and rescue tools, served by the official container with its web configuration page and asset mirror.
- NSQA realtime distributed message queue with a lookup daemon, a queue daemon and the nsqadmin web page, run together. Producers and consumers in this project connect to nsqd:4150 and nsqd:4151.
- NATSA lightweight messaging server for pub/sub, request/reply and durable streams, with JetStream persistence enabled.
- OpenRestyThe OpenResty web platform, Nginx with LuaJIT, on the Alpine image with a persistent web root. It serves the default page until you add content or configuration.