As an IT Administrator, I understand the importance of breaking down complex tech jargon to make it accessible to everyone. Today, let’s explore Nginx Proxy Manager (NPM). It stands out as an exceptional tool for streamlining the management of reverse proxies and SSL certificates. Its user-friendly nature and ability to save valuable time and effort make it an attractive choice for many users.
Nginx Proxy Manager is a powerful tool that simplifies the process of managing Nginx as a reverse proxy. But what does that mean? Imagine it as a traffic cop for web applications, directing requests to the right place. It ensures smooth communication between users and various services, enhancing security and performance.
Using Nginx Proxy Manager is straightforward:
Nginx Proxy Manager is versatile and finds application in various scenarios:
Before embarking on the installation journey, ensure that your Ubuntu server meets the following requirements:
To install Docker and Docker-Compose, use the following script:
apt update &&
apt upgrade -y &&
curl -fsSL https://get.docker.com -o get-docker.sh &&
sudo sh get-docker.sh &&
curl -SL https://github.com/docker/compose/releases/download/v2.13.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose &&
chmod +x /usr/local/bin/docker-compose &&
apt-get install docker-compose-plugin
80:80
: Used for standard HTTP traffic443:443
: Dedicated for secure HTTPS traffic81:81
: Serves as the administrative web interface for NPM## Create a directory with any name
mkdir npm
cd npm
## Create docker compose file and paste the below code
nano docker-compose.yml
##############
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
#########
## Save this file
CTRL + X >> Y >> Enter
## Once the Docker Compose file is ready, execute the following command to start the NPM container:
docker-compose up -d
This command triggers the creation and execution container. The -d
flag ensures that the containers run in the background, allowing you to continue working on other tasks. Access the NPM web interface by visiting the following URL: http://<server-ip>:81
. Replace your-server-ip
with the IP address of your server.
To create a reverse proxy, click on the “Add Proxy Host” button.
In the “Proxy Host” field, enter the hostname of the website you want to reverse proxy.
In the “Destination” field, enter the IP address of the server that is hosting the website.
In the “Port” field, enter the port that the website is running on.
Click on the “Save” button.
To obtain an SSL certificate for your reverse proxy, click on the “SSL” tab.
Click on the “Add SSL Certificate” button.
In the “Domain” field, enter the hostname of the website you want to obtain an SSL certificate for.
Click on the “Request Certificate” button.
NPM can be used to manage a variety of tasks, including:
Confused about setting up your own Nginx Proxy Manager? Ditch the dry guides and watch my video tutorial
What is Rallly? Rallly is an open-source scheduling and collaboration tool designed to make it…
Introduction OpenProject is a project management tool designed to help teams organize, collaborate, and track…
Hey there! Welcome back to the website, and today we're diving deeper into Jitsi Meet.…
Introduction Boost your team's collaboration and productivity with Mattermost, a secure and versatile communication platform.…
Introduction n8n.io is your secret weapon for workflow automation! It's a user-friendly platform that lets…
What is Nextcloud? Nextcloud is an awesome open-source platform that gives you exactly that. Think…