How to nginx proxy manager

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: Nginx Proxy Manager (NPM) is a web-based interface that simplifies the configuration of Nginx as a reverse proxy, load balancer, and SSL certificate manager. It provides an easy-to-use GUI for setting up proxy hosts, managing SSL certificates with Let's Encrypt, and configuring access controls without needing to manually edit Nginx configuration files.

Key Facts

What is Nginx Proxy Manager?

Nginx Proxy Manager (NPM) is an open-source web application designed to make managing Nginx as a reverse proxy, load balancer, and SSL certificate manager significantly easier. For many users, especially those who are not deeply familiar with Nginx's complex configuration syntax, setting up a reverse proxy or obtaining and renewing SSL certificates can be a daunting task. NPM bridges this gap by providing an intuitive, web-based graphical user interface (GUI) that allows users to configure and manage these functionalities with a few clicks.

Why Use Nginx Proxy Manager?

The primary advantage of using Nginx Proxy Manager lies in its user-friendliness. Instead of manually editing Nginx configuration files, which can be prone to errors and require a steep learning curve, NPM offers a visual dashboard. This dashboard allows for the straightforward creation and management of proxy hosts, enabling users to point domain names to internal services running on their network. This is particularly useful for home lab enthusiasts or small businesses looking to expose internal web applications or services to the internet securely.

Key Features of Nginx Proxy Manager

NPM comes packed with features that streamline the management of web services:

Installation and Deployment

Nginx Proxy Manager is most commonly deployed using Docker. This containerization approach simplifies the installation process and ensures that NPM runs in an isolated environment, minimizing conflicts with other software on your system. The typical installation involves pulling the NPM Docker image and running it with appropriate port mappings and volume configurations to persist data.

A typical Docker Compose setup might look like this:

version: '3.7'services:app:image: 'jc21/nginx-proxy-manager:latest'restart: unless-stoppedports:- '80:80'- '443:443'- '81:81'volumes:- ./data.db:/data.db- ./letsencrypt:/etc/letsencryptdb:image: 'mysql:8'restart: unless-stoppedenvironment:MYSQL_ROOT_PASSWORD: 'changeme'MYSQL_DATABASE: 'npm'volumes:- ./mysql:/var/lib/mysql

After starting the containers, NPM is accessible via a web browser, typically at port 81 (e.g., http://your-server-ip:81). The default login credentials are usually [email protected] and changeme, which should be changed immediately upon first login.

How to Use Nginx Proxy Manager

Once NPM is installed and accessible, you can start configuring your proxy hosts:

  1. Log in to the NPM web interface.
  2. Navigate to Proxy Hosts and click Add Proxy Host.
  3. Details Tab: Enter the domain name(s) you want to use (e.g., myapp.yourdomain.com).
  4. Scheme: Select the protocol (HTTP or HTTPS) of your internal service.
  5. Forward Hostname / IP: Enter the IP address or hostname of the internal server running your application.
  6. Forward Port: Enter the port number your internal application is listening on.
  7. Enable `Block Common Exploits` if desired for added security.
  8. SSL Tab: Click the SSL tab. Select your domain from the dropdown. Choose Request a new SSL Certificate (if using Let's Encrypt) or select an existing certificate. Agree to the Let's Encrypt Terms of Service.
  9. Click Save. NPM will then configure Nginx to handle requests for your domain, route them to your internal service, and manage the SSL certificate.

Benefits and Use Cases

Nginx Proxy Manager is an excellent tool for:

By abstracting away the complexities of Nginx and Let's Encrypt, NPM empowers users to manage their web infrastructure more efficiently and securely.

Sources

  1. Nginx Proxy Manager Official Websitefair-use
  2. Nginx Proxy Manager GitHub RepositoryCC-BY-SA-4.0
  3. Let's Encrypt - Free SSL/TLS Certificatesfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.