Nginx Proxy Manager is a powerful tool that provides an easy-to-use web-based interface for managing Nginx reverse proxy servers. In this tutorial, we will walk through the steps to install Nginx Proxy Manager on Ubuntu Server.
Before you begin, you need to have the following:
Before you start installing any packages on your Ubuntu server, it is recommended to update the system's repository information and installed packages to the latest version.
sudo apt update
sudo apt upgrade
Nginx Proxy Manager is distributed as a Docker container. Therefore, you need to install Docker on your system. You can do this by running the following command:
sudo apt install docker.io
Docker Compose is a tool that helps you define and run multi-container Docker applications. You can use it to manage the Nginx Proxy Manager Docker container. To install Docker Compose, run the following commands:
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Now that you have Docker and Docker Compose installed, you can proceed to install Nginx Proxy Manager. To do this, follow these steps:
Clone the Nginx Proxy Manager repository on your server using the following command:
git clone https://github.com/nginx-proxy-manager/nginx-proxy-manager.git
Change to the Nginx Proxy Manager directory:
cd nginx-proxy-manager
Create the .env
file by copying the example file:
cp .env.sample .env
Edit the .env
file to configure the application settings:
nano .env
Use CTRL + O
and CTRL + X
to save and exit the file.
Start the Nginx Proxy Manager using Docker Compose:
docker-compose up -d
Wait for the installation to complete, and your Nginx Proxy Manager is available at http://YOUR_SERVER_IP:81
.
In this tutorial, you have learned how to install Nginx Proxy Manager on Ubuntu Server. You can now use the powerful and easy-to-use web interface to manage your Nginx proxy servers.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!