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:
Step 2: Install Docker Engine
Install Docker on Ubuntu by following these steps:
Install necessary packages to allow
apt
to use a repository over HTTPS:Add Docker’s official GPG key:
Add the Docker repository to APT sources:
Install Docker Engine:
Step 3: Verify Docker Compose Installation
Docker Compose v2 integrates with the Docker CLI, simplifying multi-container Docker applications' management.
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:
Create a directory for Nginx Proxy Manager and navigate into it:
Create a
docker-compose.yml
file in this directory. Open it with a text editor likenano
:Paste the following Docker Compose configuration, which defines the Nginx Proxy Manager service and its necessary volumes:
Save and exit the editor (
CTRL+X
, thenY
to confirm, andEnter
to save).
Step 5: Start Nginx Proxy Manager
Launch Nginx Proxy Manager using Docker Compose:
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.
Last updated