Photo by Randall Bruder / Unsplash

Installing Nginx Proxy Manager with Docker in 5 minutes

Guide Sep 10, 2022

The website you're looking at is sitting behind a reverse proxy in a secure place from attacks and overload on your host machine. Nginx's reverse proxy is a nice way to make one for your host machine for free.

Requirements

  • Linux system
  • Docker and Docker-Compose installed
  • Ports 80, 443, 81 available

Installing Nginx Proxy Manager

  1. Create a docker-compose.yml file with the content below:
    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
    
  2. Create the stack with docker-compose up -d
  3. Open your dashboard located at http://yourip:81
  4. The Default login is: [email protected] and changeme

Tags