Currently the only supported way to install Nginx Proxy Manager is to run it inside of a Docker container. However, for someone like me, using Proxmox, I like to utilize LXC for my containerization. This guide will step anyone through the process of Installing Nginx Proxy Manager on a Proxmox LXC Container.
Preparation & Prerequisites
Step 1: Download the Alpine 3.16 container.
Step 2: Create a new LXC container using the downloaded Alpine 3.16 template.
Step 3: Log into the newly created container. Then update and upgrade the container.
Step 4: Next create an “npm” user on the container. It will be needed for the install script.
Step 5: Now run the install script.
wget --no-cache -qO - https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/setup.sh | sh
Step 6: After the install script runs you will be prompted with the login URL:
Save this URL and port number for later as you will need it to access the web management panel.
Step 7: Next, using your text editor of choice edit
You will need to comment out this line
pid /run/nginx/nginx.pid; to
# pid /run/nginx/nginx.pid;
Save and close the file.
Step 8: Reboot the container
Step 9: Enter the provided IP address in a browser and use the default login:
E-Mail: [email protected]
Step 10: Once logged in, you will be asked to change the default admin login. Use the previously provided default login as the last login option.
Nginx Proxy Manager is now installed!
Thanks for reading!
Written By: Max Kulik