I was looking for some time to easily manage the binding of multiple web application hosted in my docker host machine. I have found a good candidate in Nginx Proxy Manager from Jamie Curnow https://jc21.com
To best fit the installation, I rearranged the default setup for a fastest deploy in my environment based on PhotonOS and Portainer for Raspberry PI.
Open an ssh console and create a new folder where you store a configuration file. Note that “npm” means “Nginx Proxy Manager”.
Than paste the configuration parameters as follow.
Enter into the Portainer UI, go to the Stacks menu and add a new stack.
Service stack creation
Choose a name for example “npm”, paste on the Web editor the script and deploy the stack.
# Public HTTP Port:
# Public HTTPS Port:
# Admin Web Port:
# Make sure this config.json file exists as per instructions above:
If all goes to the right way you should see your service up and healthy
Now you could proceed with the proxy configuration at the link http://<host-address>:81
Complete your customization and good work!