Linux serverlinux web serverNETWORK ADMINISTRATIONS

Self Hosting on your Home Server – Cloudflare + Nginx Proxy Manager – Easy SSL Setup

Once you have your fresh new home server setup you’ll definitely want to host some cool stuff. Let’s make sure you’re hosting it the safe way…and luckily its also the easy way.

Cloudflare – https://www.cloudflare.com/
Nginx Proxy Manager – https://nginxproxymanager.com/

——————————————————————————————-

🔥 Check out this week’s BEST DEALS in PC Gaming from Best Buy: https://shop-links.co/cgDzeydlH34
💰 Premium storage solutions from Samsung: https://shop-links.co/cgDzWiEKhB8
⚡ Keep your devices powered up with charging solutions from Anker: https://shop-links.co/cgDzZ755mwl

——————————————————————————————-

Become a Channel Member!
https://www.youtube.com/channel/UC9evhW4JB_UdXSLeZGy8lGw/join

Support the channel on:
Patreon – https://www.patreon.com/RaidOwl
Discord – https://bit.ly/3J53xYs
Paypal – https://bit.ly/3Fcrs5V

Affiliate Links:
Ryzen 9 5950x – https://amzn.to/3z29yko
Samsung 980 2TB – https://amzn.to/3myEa85
Logitech G513 – https://amzn.to/3sPS6yv
Logitech G703 – https://amzn.to/3sATW5R
WD Ultrastar 12TB – https://amzn.to/3EvOPXc

My Studio Equipment:
Sony FX3 – https://amzn.to/3qq4Jxl
Sony 24mm 1.4 GM – https://amzn.to/3mA1TEK
Tascam DR-40x Audio Recorder – https://amzn.to/3EvTPeq
Rode NTG4+ Mic – https://amzn.to/3JuElLs
Atmos NinjaV – https://amzn.to/3Hi0ue1
Godox SL150 Light – https://amzn.to/3Es0Qg3

Join the Discord: https://discord.gg/CUzhMSS7qd

https://links.hostowl.net/

0:00 Intro
0:52 Self Hosting
1:28 Prerequisites
2:55 What you need a reverse proxy
4:06 Setup with Docker
6:16 Open ports
7:43 Cloudflare
10:32 Nginx Setup
12:41 Cloudflare SSL/TLS
14:13 IT WORKS
14:38 Conclusion

source

by Raid Owl

linux web server

25 thoughts on “Self Hosting on your Home Server – Cloudflare + Nginx Proxy Manager – Easy SSL Setup

  • This video finally got everything working!!!!! thank you sooo much!!! saved me a ton of time and stress!!!

  • How does this compare to uploading a custom certificate from cloudflare…I guess that Let's Encrypt doesn't have to renew it.

  • I'm getting a Red Dangerous site page and then I get a Cloudflare error screen with Host error for my site. I can't figure out where I messed up.

  • There are a few problems with this approach:
    – you have to add the subdomains in 2 places
    – the ssl cert expires fast (i know it auto renews but you can make one from cloudflare for free that is available 15 years and never use let's encrypt)
    – no support for dynamic ip that most of us have

    To solve those problems you can change a few things:
    – add to the docker compose the container cloudflare-ddns and configure it with the api key from cloudflare this solves the dynamic ip problem
    – in cloudflare set ssl to Full strict
    – in cloudflare generate origin server certificate
    – add the generated key and cert to nginx proxy manager -> add ssl certificates -> custom

    This way you just have to add the subdomains to nginx proxy manager and if your public ip changes it will be automatically changed in cloudflare as well

  • A huge thanks for this website hosting wisdom! Ive experimented with Hostwinds and A2 Web Hostinng, but Cloudways with TST20 couupon is the top pick.

  • Noob here. Have guacamole and Ngnx hosted in CasaOs (port 8080). Guac loads with the same ports as shown on this video. I just want to know if I will hace any issues and if so, to what other port i can route my gateway for casaos?

  • many thanks
    But is that a problem if my public ip isn't fix and can change?

  • Not my chair, not my problem. That's what I always say.

  • WOW, thanks man for this simple tutorial, damn I was trying to do this for a few days now, finally i got your video. Thank you for your work, it was so simple to setup. Thank you once again and regards.

  • Dude, you just absolutely broke me out of my confusion over this entire process. THANK YOU!!!

  • The Proxy Host Force SSL setting was causing this problem: "website" redirected you too many times. So I deactivated it, Tought it might help someone.

  • First of all, thank you. I just wanted to ask. I use the zero trust tunnel, where clearly there is no need to open any ports on the router. From your experience, in all sincerity, what do you think is the best solution between video and one (or more) zero trust tunnels? I really thank you. Videos always at the top! 🤙

  • Not my chair, not my problem, that's what I always say

  • New to Docker, and I have Docker Desktop on Windows installed. How do I stop NGINX losing all settings when the host PC is rebooted?

  • THANK YOU THANK YOU THANK YOU THANK YOU

  • thank you, ive been trying to set my server for about a week, tried other tutorials, with this one i was able to do what i wanted. thumbs up!!!!

  • Does Cloudflare analyse the data as it is going through it's servers? I am curious if the data remains encrypted from web browser –> cloudflare –> nginx tunnel (home server). Does cloudflare decrypt and then re-encrypt when it sends to nginx tunnel?

  • What's a good alternative to Cloudflare that doesn't blacklist half the planet with that broken "Checking if your connection is secure" nag screen?

  • I have been struggling with this for days and finally I have been able to get it sorted. thank you soo much for your content

  • for Nextcloud to work I needed to turn off TLS in cloudflare

Comments are closed.