```html
Nginx Proxy Manager (NPM) — is a convenient web interface for managing reverse proxying based on Nginx. It allows you to easily configure proxies for applications, manage SSL certificates, and access without manually editing configurations.
📋 Minimum Requirements
- Server with
rootorsudoaccess - Installed Docker and Docker Compose
- Open ports:
80,443,81(management panel)
🔧 Step 1: Prepare the Working Directory
sudo mkdir -p /app/npm
sudo chown -R $USER:$USER /app/npm
This will ensure correct permissions and ease of management.
⚙️ Step 2: Create docker-compose.yml
In the directory /app/npm, create a file docker-compose.yml with the following content:
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
🚀 Step 3: Start the Container
cd /app/npm
docker compose up -d
After starting, the management panel will be available at http://IP_server:81.
🔑 Step 4: First Login
Default login credentials:
- Email:
admin@example.com - Password:
changeme
After logging in, be sure to change the password and email.
🌐 Step 5: Configure Proxy
- In the panel, click Add Proxy Host
- Specify the domain or subdomain
- Enter the IP and port of the internal service
- If necessary, enable SSL and select Let’s Encrypt
🛡️ Additional Features
- Automatic obtaining and renewal of SSL certificates
- Access restriction by IP or password (ACL)
- Support for redirects and TCP/UDP streams
✅ Conclusion
With Nginx Proxy Manager, you can quickly and conveniently manage reverse proxying and SSL certificates for your services. All this is done through an intuitive web interface, without complex Nginx configurations manually.
```