Nginx Proxy Manager With SSL



Nginx Proxy Manager With SSL

Nginx Proxy Manager With SSL

This is a quick video on ngnix reverse proxy manager with SSL.
I cover installing the proxy manager, a database and Duckdns into our docker environment.
We’ll also install portainer for docker management and finally Nextcloud as our test web app behind the proxy.
Its all pretty straight forward so lets get to it.

#####################################################################################################################################—-===Docker Config===—–########################################
docker network create proxy

docker run -d
–name=db
–network=proxy
-e PUID=1000
-e PGID=1000
-e MYSQL_ROOT_PASSWORD=npm
-e MYSQL_DATABASE=npm
-e MYSQL_USER=npm
-e MYSQL_PASSWORD=DBPASS
-v PATH/mysql:/var/lib/mysql
–restart unless-stopped
jc21/mariadb-aria:latest

docker run -d
–name=proxymanager
–network=proxy
-e PUID=1000
-e PGID=1000
-e DB_MYSQL_HOST=db
-e DB_MYSQL_HOST=db
-e DB_MYSQL_USER=npm
-e DB_MYSQL_PASSWORD=DBPASS
-e DB_MYSQL_PORT=3306
-e DB_MYSQL_NAME=npm
-p 80:80
-p 443:443
-p 81:81
-v PATH/proxymanager/data:/data
-v PATH/letsencrypt:/etc/letsencrypt
–restart unless-stopped
jc21/nginx-proxy-manager:latest

docker run -d
–name=duckdns
–network=proxy
-e PUID=1000
-e PGID=1000
-e TZ=america/New_york
-e SUBDOMAINS=SD
-e TOKEN=TK
–restart unless-stopped
linuxserver/duckdns:latest

docker run -d
–name=nextcloud
–network=proxy
-e PUID=1000
-e PGID=1000
–restart unless-stopped
nextcloud:latest

docker run -d
–name=portainer
-e PUID=1000
-e PGID=1000
-p 8000:8000
-p 9000:9000
–restart=always
-v /var/run/docker.sock:/var/run/docker.sock
-v portainer_data:/data
portainer/portainer-ce

####################################################################################################################################################################################################

—————————————————————————————————————

Useful Links:

Notepad++
https://notepad-plus-plus.org/

–==Affiliate Link Notice==–
The below links are affiliate links. If you use one of the these links to make a purchase. My channel makes a small commission at no cost to you.

Raspberry Pi 4 Kit
https://amzn.to/3IPmNcq

ESP8266 NodeMCU CP2102 ESP-12E Development Board
https://amzn.to/3p2LzOz

Try Audible Plus
https://amzn.to/3mdm9M7

Create Amazon Business Account
https://amzn.to/3se6Yq2

Try Prime Discounted Monthly Offering
https://amzn.to/3IXjKir

Try Amazon Prime 30-Day Free Trial
https://amzn.to/3H6MG67

Prime Student 6-month Trial
https://amzn.to/3scID3D

ExpressVPN
https://bit.ly/3iOFWyz

—————————————————————————————————————

Comments are closed.