SSL for Everyone: Nginx Proxy Manager Guide

If Traefik's labels confuse you, or you just prefer clicking buttons, Nginx Proxy Manager (NPM) is for you.

It handles:

  1. Reverse Proxying: Point app.example.com to http://192.168.1.50:8080.
  2. SSL: Automatically gets Let's Encrypt certs and renews them.
  3. Access Lists: Password protect your internal services.

The Setup

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

Usage

  1. Go to http://localhost:81.
  2. Default login: admin@example.com / changeme.
  3. Add a Proxy Host.
  4. Domain: myservice.com.
  5. Forward Host: container_name or IP.
  6. SSL Tab: "Request a new SSL Certificate".

Done. You have HTTPS.

Leave a comment

👁️ Views: 927