Nginx Proxy Manager Tutorial - Easy SSL Certificates

preview_player
Показать описание
In this video I show you how to secure and enhance your home server setup with simple steps using Nginx Proxy Manager. Follow along as I show you how to set up custom domain names and SSL certificates for your applications for public and private exposure. Upgrade Your Homelab Experience with Pretty Domains & Valid SSL Certificates.

######## Nginx Proxy Manager Docker Compose ########
services:
nginx-proxy:
image: 'jc21/nginx-proxy-manager:2.10.4'
container_name: nginx-proxy
ports:
- '80:80'
- '443:443'
- '81:81'
environment:
DB_MYSQL_HOST: "mariadb"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "npm"
DB_MYSQL_PASSWORD: "Q#GNTJ!E2vr4"
DB_MYSQL_NAME: "npm"
DISABLE_IPV6: 'true'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- mariadb
networks:
- frontend
restart: unless-stopped

mariadb:
image: 'jc21/mariadb-aria:latest'
container_name: nginx-proxy-database
environment:
MYSQL_ROOT_PASSWORD: 'Q#GNTJ!E2vr4'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'Q#GNTJ!E2vr4'
MARIADB_AUTO_UPGRADE: '1'
volumes:
- ./mysql:/var/lib/mysql
networks:
- frontend
restart: unless-stopped

networks:
frontend:
driver: bridge
#############################################

######## Jellyfin Docker Compose ########
services:
jellyfin:
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=America/Toronto
volumes:
- ./config:/config
- /path/to/movies:/data/movies
ports:
- 8096:8096
- 8920:8920
- 7359:7359/udp
- 1900:1900/udp
networks:
- nginx-proxy_frontend
restart: unless-stopped

networks:
nginx-proxy_frontend:
external: true
###################################

0:00 - What you need
0:47 - Nginx Proxy Manager Docker
4:28 - Jellyfin on Docker
6:39 - Nginx Proxy Manager Account
7:24 - Public Domain Setup
8:58 - API Token Setup
10:36 - Public Proxy Rule & SSL Certificate
13:00 - Firewall Configuration
13:52 - Certificate Validation
14:14 - DuckDNS
14:37 - Local Domain Setup
15:59 - Local Proxy Rule & SSL Certificate
17:19 - Certificate Validation
17:34 - Closing Notes

#nginx #ssl #sslcertificate #npm #nginxproxy #docker #homelab
Рекомендации по теме
Комментарии
Автор

Awesome !! I will do this right away!!! thanks for sharing...

YofuMedia
Автор

This was so easy, if only it actually worked

AbyssalSoda
Автор

Great video this is exactly what I needed to get unstuck! Could you also have used cloudflared tunnels instead of opening the port in your firewall? Then you could throw access rules in front of it for added security.

CMfly
Автор

Why use the challenge dns with Cloudflare instead of the normal letsencrypt option for SSL? Is that because you're proxying the dns on Cloudflare?

MikeDeVincentis
Автор

Is there a way to secure an exposed streamed tcp port?

vivahernando
Автор

Thanks for tutorial, in case if we also use pihole as DNS we can add a or cname record right into pihole dns settings right and use that one?

Автор

How does this work if you're using your domain for home assistant public access via the cloudflared add on? Would I need a second domain?

KrispKiwi
Автор

what about other network like other device that same subnet with host ? how to forward to that.

sutthipongapaisuwan
Автор

so, you also need a PUBLIC STATIC ip? it cost money to have one. Can we use noip?

salvadorfajardo