Quickly Deploy Nginx Proxy Manager with Docker and Enable HTTPS

This tutorial walks through installing the open‑source Nginx Proxy Manager using Docker‑Compose, accessing its web UI, logging in with default credentials, and configuring a reverse‑proxy entry that maps a custom domain to the admin interface with automatic Let’s Encrypt HTTPS.

Java Architect Essentials
Java Architect Essentials
Java Architect Essentials
Quickly Deploy Nginx Proxy Manager with Docker and Enable HTTPS

Introduce Nginx Proxy Manager, an open‑source reverse‑proxy UI built on NGINX, offering a web UI, SSL via Let’s Encrypt, and user management.

Features

Beautiful UI based on Tabler.

Create domain forwards, redirects, streams, 404 hosts without deep Nginx knowledge.

Free SSL via Let’s Encrypt or custom certificates.

Host access lists and basic HTTP authentication.

Advanced Nginx configuration for superusers.

User management, permissions, and audit logs.

Installation

1. Install Docker and Docker‑Compose

2. Create docker‑compose.yml

version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt

3. Run the containers

docker-compose up -d
# If using the docker‑compose plugin
docker compose up -d

4. Access the UI

Open http://127.0.0.1:81 in a browser.

5. Log in

Default credentials are [email protected] / changeme. Change the password on first login.

6. Main dashboard

Practical Example: Reverse‑Proxy the Admin UI

Goal: expose the Nginx Proxy Manager UI at http://a.test.com with HTTPS.

Prerequisites

Nginx Proxy Manager installed.

A domain name pointing to the server’s IP.

Step‑by‑step

Open the UI at ip:81 and log in.

Click “Add Proxy Host”. In the Details form fill:

Save the proxy host.

Obtain an SSL certificate for a.test.com via the “Access Lists → Add SSL Certificate → Let’s Encrypt” workflow.

In the proxy host settings, select the new certificate and enable “Force SSL”.

After these steps, a.test.com serves the admin UI over HTTPS, and the original port 81 can be closed.

Conclusion

The guide covered installing Nginx Proxy Manager with Docker, basic UI navigation, and configuring a reverse proxy with automatic HTTPS.

Official documentation: https://nginxproxymanager.com/guide/
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DockerDevOpsNginxreverse proxynginx-proxy-managerletsencrypt
Java Architect Essentials
Written by

Java Architect Essentials

Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.