Install Nginx Proxy Manager on Ubuntu 24.04 with Docker
Deploy Nginx Proxy Manager with a small Compose configuration, persistent storage and a protected administration path. Verify the upstream and certificate workflow before adding production sites.
Prepare the host
Use a supported Docker Engine and Compose plugin on Ubuntu 24.04. Check for existing listeners on ports 80, 443 and 81 before deploying a proxy. Save the current configuration and plan how DNS, firewall rules and certificate validation will reach this host.
Follow the current official Docker Ubuntu installation instructions for repository setup. Verify the installed tools:
docker version
docker compose version
Create a small Compose deployment
The official Nginx Proxy Manager setup supports a simple SQLite deployment. In a dedicated project directory, create this Compose file, using an approved release tag. This example uses the release shown in the vendor setup reference when reviewed:
services:
app:
image: jc21/nginx-proxy-manager:2.17.1
restart: unless-stopped
ports:
- '80:80'
- '443:443'
- '127.0.0.1:81:81'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
The administration port is bound to host loopback. Reach it through an approved SSH tunnel or another deliberately secured administration path; it will not be available at the host’s public IP. Public proxy ports still need an explicit exposure and firewall review.
Validate and start
docker compose config
docker compose up -d
docker compose ps
docker compose logs --tail=100 app
Follow the selected release’s initial account setup and use strong credentials. Do not rely on remembered default credentials from an older tutorial.
Test the proxy and recovery
Add one test proxy host, confirm its upstream is reachable and verify hostname, HTTPS and certificate renewal. If the upstream is on another container network, attach the proxy deliberately to that network and use an appropriate service name.
Back up persistent application data and certificate material using a consistent backup procedure, then test restoration. Upgrades should include release-note review and rollback preparation. A restart policy does not replace a backup or an availability design.
The previous example’s duplicated external-network wiring and database setup have been replaced with the simpler documented deployment. Add an external database only when there is a specific operational requirement and a tested plan for its credentials and backups.
Practical checks and next steps
Pin or deliberately review image updates, preserve application and certificate data, and test restoration. A publicly reachable proxy does not require a publicly reachable administration interface.
Explore Virtualization & Containers for related guides.
Content review: November 24, 2026. Reviewed the stated scope, guidance and source references; tenant, hardware and production changes were not executed as part of this editorial review. Original publication date retained.