Wednesday, January 24, 2024

How to Install NGINX Proxy Manager in Debian 12: A Secure NGINX Reverse Proxy Server

Nginx Proxy Manager is a web-based interface for managing Nginx reverse proxy servers. A reverse proxy is a server that sits between client devices and web servers, forwarding client requests to the appropriate server and returning the server's responses to clients. Nginx, a popular web server and reverse proxy server, is commonly used for this purpose.

Nginx Proxy Manager simplifies the configuration and management of Nginx as a reverse proxy by providing a user-friendly web interface. It allows users to easily set up and manage proxy hosts, handle SSL certificates, and configure routing rules for various applications and services.

How to Install NGINX Proxy Manager in Debian

Step 1: System Update

To begin the installation process, it is crucial to ensure that your system is up to date. Execute the following commands to update the package list and upgrade the installed packages:

sudo apt update

sudo apt upgrade

Step 2: Node.js and npm Installation

Node.js and npm are prerequisites for running Nginx Proxy Manager. Employ the following commands to install them:

curl -sL | sudo -E bash -

sudo apt-get install -y nodejs

Step 3: Nginx Proxy Manager Installation

Once Node.js and npm are installed, proceed to install Nginx Proxy Manager. Create a new directory for the installation and navigate into it:

mkdir nginx-proxy-manager

cd nginx-proxy-manager

Download the latest release from GitHub using wget:


Install the downloaded package using dpkg:

sudo dpkg -i nginx-proxy-manager_2.10.0_amd64.deb

Step 4: Configure Nginx Proxy Manager

After installation, configure Nginx Proxy Manager by running the following command:

npm start --init

This command will guide you through setting up an administrator account and configuring the initial settings for Nginx Proxy Manager.

Step 5: SSL/TLS Security for Nginx Proxy Manager

Secure your Nginx Proxy Manager installation with SSL/TLS to encrypt communication. Obtain a free SSL certificate using Let’s Encrypt with the following command:

npm run api:create-ssl-certificate --domain --email --provider letsencrypt

Replace "" with your domain name and "" with your email address.

By following these steps, you can securely set up Nginx Proxy Manager on Debian 12 and configure it to provide secure proxy services for your applications.


Post a Comment