Documentation Index
Fetch the complete documentation index at: https://docs.riad.com.bd/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Nginx Proxy Manager is a powerful tool that simplifies the management of Nginx reverse proxies and SSL certificates. In this guide, we will walk through the steps to deploy Nginx Proxy Manager in Docker, allowing you to easily manage your web applications and secure them with SSL certificates from Let’s Encrypt.Nginx Proxy Manager Features
- User-friendly web interface for managing Nginx configurations.
- Automated SSL certificate issuance and renewal with Let’s Encrypt.
- Support for multiple proxy hosts, redirections, and streams.
- Access control and authentication for secure management.
Prerequisites
Before we begin, ensure you have the following prerequisites in place:- A server or virtual machine with Docker installed.
- Basic knowledge of Docker and Nginx.
Step 1: Create Docker Compose File
a. Create a directory for Nginx Proxy Manager and navigate into it:docker-compose.yml file with the following content:
Step 2: Start Nginx Proxy Manager
In the terminal, run the following command to start Nginx Proxy Manager using Docker Compose:docker-compose.yml file.
Step 3: Access Nginx Proxy Manager Web Interface
- Open your web browser and navigate to
http://your-server-ip:81. - Log in using the default credentials:
- Email:
admin@example.com - Password:
changeme
- Email:
- Change the default email and password upon first login for security.
Step 4: Configure Proxy Hosts and SSL Certificates
- In the Nginx Proxy Manager dashboard, navigate to the “Proxy Hosts” section.
- Click on “Add Proxy Host” to create a new proxy host.
- Fill in the details for your proxy host, including the domain name, scheme (HTTP/HTTPS), and the IP address and port of the backend service.
- To enable SSL, check the “Block Common Exploits” and “Websockets Support” options as needed.
- Under the “SSL” tab, select “Request a new SSL Certificate” and agree to the Let’s Encrypt terms of service.
- Click “Save” to create the proxy host with SSL enabled.