How to Install Nginx Proxy Manager on Windows 10
Nginx Proxy Manager is a web application that allows users to manage Nginx proxy hosts and SSL certificates. Here's how to install it on Windows 10.
Prerequisites
Before we begin with the installation, you'll need to ensure you have the following:
- A Windows 10 system
- Docker Desktop installed
- A virtual host configured with DNS pointing to the system's IP address
Installation
- Open up your command prompt or Windows PowerShell terminal and navigate to the directory where you want to install Nginx Proxy Manager.
- Run the following command to download the latest version of Nginx Proxy Manager:
git clone https://github.com/jc21/nginx-proxy-manager.git
- Navigate into the
nginx-proxy-managerfolder using the following command:
cd nginx-proxy-manager
- Run the following command to start the Docker containers:
docker-compose up -d
- Once the containers have started, you can access Nginx Proxy Manager by opening your web browser and visiting the following URL:
http://localhost:81. - In the web interface, you will be prompted to create an admin account. Once you have created the account, you will be directed to the dashboard of the Nginx Proxy Manager.
- To add a new host, click on the
Hoststab on the left-hand menu and then click theAdd Hostbutton. Fill in the details of your virtual host, including the domain name and IP address that it should forward traffic to. - After adding the host, you will need to obtain an SSL certificate for the domain. Click on the
SSLtab and then click theObtain Certificatesbutton. Follow the prompts to obtain the certificate. - Once you have obtained the certificate, go back to the
Hoststab and edit the host. UnderSSL Certificate, select the certificate that you obtained in the previous step. - Save the host configuration by clicking the
Savebutton.
Congratulations, you have now installed Nginx Proxy Manager on Windows 10 and configured a host with SSL. You can now repeat steps 7-10 to add additional hosts.
Conclusion
Nginx Proxy Manager is a powerful tool for managing Nginx proxy hosts and SSL certificates. With the steps above, you can easily install it on your Windows 10 system and start managing your virtual hosts.