🏴‍☠️
Venture Next
  • Windows
    • Configuring Time Synchronization in Active Directory: NT5DS and NTP
    • Regedit Show File
    • Page 2
    • Windows CA
      • Windows CA Backup DB
      • Windows CA Failed Requests Database Cleanup
  • VMware
    • Remount iSCSI Datastore after network failure
    • Backing Up and Restoring VMware ESXi Configuration Settings
  • Proxmox
    • Page
    • Page 8
  • Networking & Security
    • Nginx
      • Nginx Proxy Manager - Install on Ubuntu
      • Nginx Proxy Manager - Adding a New Proxy Host
      • Nginx Proxy Manager - SSL Certificates with Cloudflare API and Let's Encrypt
  • Linux
    • Page 1
  • DevOps
    • Resetting GitLab EE root password in Docker
  • Miscellaneous
    • FiiO BTA30 Pro USB DAC Driver
  • Page 10
  • Page 9
  • Page 11
  • Microsoft 365
    • Create a Microsoft 365 Group Without Welcome Email
    • Turn off directory synchronization
  • Exchange
    • Exchange Server Log Cleanup
  • Set Regional Settings and Localize Mailbox Folders
  • Email Notification Banners
  • Microsoft Teams
  • MS365 Tenant to Tenant Migration
    • Page 12
      • Page 13
      • Page 14
  • Page 15
    • Page 16
    • Page 17
Powered by GitBook
On this page
  1. Networking & Security
  2. Nginx

Nginx Proxy Manager - Install on Ubuntu

Step 1: Update Your System

Begin by updating your system to ensure all existing packages are up-to-date:

sudo apt update && sudo apt upgrade -y

Step 2: Install Docker Engine

Install Docker on Ubuntu by following these steps:

  1. Install necessary packages to allow apt to use a repository over HTTPS:

    sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
  2. Add Docker’s official GPG key:

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
  3. Add the Docker repository to APT sources:

    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  4. Install Docker Engine:

    sudo apt update && sudo apt install docker-ce docker-ce-cli containerd.io -y

Step 3: Verify Docker Compose Installation

Docker Compose v2 integrates with the Docker CLI, simplifying multi-container Docker applications' management.

docker compose version

This command should output the version of Docker Compose installed, indicating it's ready for use.

Step 4: Set Up Nginx Proxy Manager

With Docker ready, proceed to set up Nginx Proxy Manager:

  1. Create a directory for Nginx Proxy Manager and navigate into it:

    mkdir -p ~/nginx-proxy-manager && cd ~/nginx-proxy-manager
  2. Create a docker-compose.yml file in this directory. Open it with a text editor like nano:

    nano docker-compose.yml
  3. Paste the following Docker Compose configuration, which defines the Nginx Proxy Manager service and its necessary volumes:

    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
  4. Save and exit the editor (CTRL+X, then Y to confirm, and Enter to save).

Step 5: Start Nginx Proxy Manager

Launch Nginx Proxy Manager using Docker Compose:

docker compose up -d

Step 6: Access the Web Interface

After the containers start, access the Nginx Proxy Manager web interface by navigating to http://<your-server-ip>:81 in a web browser. Log in using the default credentials (admin@example.com / changeme) and follow prompts to secure your account with a new password.

The next article covers adding a Proxy Host via the NPM Web Interface.

PreviousNginxNextNginx Proxy Manager - Adding a New Proxy Host

Last updated 1 month ago