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

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 538

  • @mitchellstl
    @mitchellstl 9 месяцев назад +12

    Thank you for the thorough explanation & step by step. Even 2 years later, this video is still helping others (like myself!). Appreciate the tutorial!

    • @RaduRadonys
      @RaduRadonys 5 месяцев назад

      You can use Cloudflare tunnels to avoid opening any ports on your router and also to not worry about your public IP changing (most people don't have fixed IP).

  • @traviskraftphotography
    @traviskraftphotography 16 часов назад

    2 Years late to this party but you've helped me setup an immich server so I don't have to pay Google $10 a month to store more than 200GB of data. Now I can store 3TB worth of data for photos and be good for a while. I thank you sir.

  • @iZehro
    @iZehro 12 дней назад

    Even though this video is 2 years old, still works perfectly. Was going round in a circle trying to watch several different videos to setup different aspects. Amazing to see one streamlined video stringing it all together!
    Perfect results first time round.

  • @eclipse245
    @eclipse245 5 месяцев назад +13

    Genius dude. I have spent over 12 hours trying to get a reverse proxy working with Caddy, docker containers and all this other shit. Here we are, clear as mud. Thanks man.

  • @72bonzo
    @72bonzo 2 года назад +112

    DUDE. I have been going 'round and 'round with this. I've watched about half a dozen videos, studied at least the same number of articles, and this is the first time I've got it working. And it was so easy. I was WAY over complicating this. At least I know a lot more about apache/cloudflare/docker/nginx than I'd ever thought I'd know.
    Thanks for allowing me to get back to having fun in the homelab again. Keep up the good work!!

    • @hazthematt
      @hazthematt 2 года назад +8

      im in the homelab nightmare stage xD

    • @Than3Dane
      @Than3Dane Год назад +1

      Same here xD Still stuck at the end, currently trying to assign nat ports to continue following up on this guide.. Got a wordpress installation on a local webserver using Nginx, which I've already setup to be powered by cloudflare, got all the ssl certs and stuff completed, just need to get around the dns I guess xD
      Thank god for people like Chuck !

    • @crowlsyong
      @crowlsyong Год назад +2

      ​@@Than3Dane I've been stuck with nginx on a 403 error. Got the initial nginx page, but when i directed it to the index file, it 403s now.
      XD Love this video tho, I have made more progress each time I sit down on this project.

    • @idanzehavi7883
      @idanzehavi7883 Год назад

      Literally same, this video saved me so much time

    • @lololololololololl
      @lololololololololl 10 месяцев назад +1

      Same for me, i've been watching these videos for a week and tinkering around but with no luck, until this video!

  • @MrChrisChev
    @MrChrisChev 2 месяца назад +1

    Dude you are CONSISTENTLY the BEST teacher for Networking and providing very simple visual guides on how to set up projects. I finally got a website online thanks to your tutorials and can't say thank you enough. You are the man.

  • @v0x3lc0d3
    @v0x3lc0d3 Год назад +9

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

  • @alexnaster8357
    @alexnaster8357 2 года назад +3

    Awesome. Been spun around in circles over this. Ended up have an obtuse issue with the add-on in home assistant. Wipe the DB, reinstalled...started with wildcard cert with DNS challenge first before adding proxy hosts...works like a champ

    • @alexnaster8357
      @alexnaster8357 10 месяцев назад

      A year later lost my conf could not recall how to do this. Thanks again.

  • @seankingsland
    @seankingsland Год назад +182

    Bro had me from the jump. "You finally finished your website after countless months of Red Bull" A few moments later..."Hello, World." 🤣😂😂😂

    • @RaidOwl
      @RaidOwl  Год назад +17

      Totally not speaking from my personal experiences there…lol

    • @jyt5249
      @jyt5249 Год назад +3

      Ok - now I don’t feel so embarrassed knowing I wasn’t the only one who had that as their first webpage!! 😎

    • @comosaycomosah
      @comosaycomosah 7 месяцев назад +1

      lmao same i was all in from the capri sun hanging in the mouth

    • @realmichaeltian
      @realmichaeltian 6 месяцев назад +1

      bro got me at the "control freak" and "cheaper than Mr. Krabs" 😭😭

  • @abetechtips
    @abetechtips 11 месяцев назад +8

    I tried watching a few videos but this one by far is the most straight forward and well explained. Thank you for your well made videos!

  • @sanderdevries7718
    @sanderdevries7718 11 месяцев назад +2

    Thanks for explaining this in detail! My server has been running Nginx Proxy Manager for 3 ish years but recently it stopped working and I was struggling with the reinstallation process. This helped me re-do my SSL setup!

  • @msoltanftw
    @msoltanftw Год назад +1

    I seriously felt that cut to screaming into the pillow. That was my experience trying to get this all set up before I found your video, it helped a ton!

  • @JavierChaparroM
    @JavierChaparroM 2 года назад +10

    Thank you! I saw tutorials on doing this a lot of times and this one has been the only one that has worked as far!

  • @MikeCabralcapsyweb
    @MikeCabralcapsyweb Год назад +1

    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!!!!

  • @kyledickinson311
    @kyledickinson311 Год назад +4

    This is, by far, the best tutorial I've seen on the topic. Thank you!

  • @gannonbest7251
    @gannonbest7251 2 года назад +3

    3 days and hours of pain and finally here we are with a working proxy

  • @stigofdump100
    @stigofdump100 Год назад +1

    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

  • @thomaswhipple2867
    @thomaswhipple2867 Год назад +3

    You are… the wind beneath my wings! Thank you so much for this video. Been trying to figure this out for a while now and you made it all make sense.

  • @guitarguy6561
    @guitarguy6561 Год назад +2

    Thanks bud. Most tutorials dont cover the A record setup via cloudflare and is working first time. Cheers!

  • @whiskeymuscles4053
    @whiskeymuscles4053 Год назад +1

    Thank you so much for this video! I was losing my mind trying to get NPM + Certbot to work in unraid. Setting my domains up in Cloudflare was the ticket. Thanks again!

  • @tulliobottiglierisr1213
    @tulliobottiglierisr1213 2 месяца назад

    Wow, congrats. For me this is the first tutorial that worked 100%.

  • @V1N_574
    @V1N_574 20 дней назад +1

    This was so straight forward that I'm actually a little angry for the days I have been trying to get this to work on my own while stupid.

  • @JeffEngle_rvbuiltfortwo
    @JeffEngle_rvbuiltfortwo Год назад +3

    PERFECT. just what I was looking for. Trying it out on TrueNAS scale tomorrow. Thank you!

  • @Kris-fm8ln
    @Kris-fm8ln 8 месяцев назад +6

    The take a breath followed by screaming into a pillow made me laugh way too hard. Great video.

  • @leggettc18
    @leggettc18 2 года назад +66

    Great Video, but worth mentioning that some residential ISPs will block traffic on port 80, which can make getting a Let’s Encrypt cert difficult. You can still get around it by hosting the Nginx proxy in the cloud and having it proxy to other ports on your home network.

    • @FranciscoMarcosMilhomemAbreu
      @FranciscoMarcosMilhomemAbreu 2 года назад +1

      Exactly! I faced this issue too. What do you say about duckdns?

    • @charlesrodriguez3657
      @charlesrodriguez3657 2 года назад +8

      Cloudflared ( Argo Tunnels) ,or Ngrok. I've also heard of Inlets, but I haven't been able to test it.
      They're like a wormhole. The visitors hit the edge (Cloudflare servers) and see your site without having to open ports.

    • @NordplayTM
      @NordplayTM 2 года назад

      Namesheap Dynamic dns client

    • @Carmtech974
      @Carmtech974 10 месяцев назад

      This is where cloudflare comes in!

  • @MuratDemir26
    @MuratDemir26 2 года назад +10

    First of all, thank you for the video. You have put together a topic that I have been researching for a while, , very well. I think a top of this can be done using Cloudflare Tunnel. Thus, it becomes appealing to those using CGNAT or Dynamic IP addresses. Thanks again, have a nice day ^_^

  • @charleskorndorffer
    @charleskorndorffer Год назад +2

    Easily the most clear and enjoyable explanation of this

  • @dawnS33ker
    @dawnS33ker Год назад +2

    I had watched a lot of videos on this subject, but this is the one that cleared up things for me. Thank you for this.. Just awesome!!!

  • @pringl3s
    @pringl3s 2 года назад +10

    Perfect video, by far the best I have found! I'm having a lot of fun with my homelab thanks to great teachers like you. Greetings from the Netherlands!

  • @malachiHburton
    @malachiHburton 2 года назад +4

    Been through multiple videos on how to get this setup, with no success until this tutorial. Great tutorial, thanks for helping me to get this working!

    • @RaidOwl
      @RaidOwl  2 года назад +3

      I was in the same boat...which is why I made it haha. Glad it helped you out!

  • @grahammccann8554
    @grahammccann8554 8 месяцев назад

    Thank you for taking the time to make this video. It is easy to follow and entertaining.

  • @josephgutierrez8430
    @josephgutierrez8430 Год назад +5

    Fantastic video! Thank you so much! The only thing I did on my config was use Zero Trust Tunneling from Cloud Flare instead of opening ports on my router. (I'm just paranoid. I'm sure this is safe, too. Just you know, overkill is underrated. )
    Also Fun fact, this was the only way I could find that wasn't a giant pain to get an SSL secured Wordpress install self hosted. Great work! Thank you again so much. Fantastic content. I have been binging all your stuff!

    • @RaidOwl
      @RaidOwl  Год назад +1

      Heck yeah man, glad you got it working!

    • @Michael-rq8zj
      @Michael-rq8zj Год назад

      May I ask how you did this using cloudflare tunneling?

    • @josephgutierrez8430
      @josephgutierrez8430 Год назад

      @Michael-rq8zj
      Hey man, sure so RaidOwl actually has a video on this. I used this to do most of it. There was some wordpress specific stuff that I had to do. If you're specifically looking into that I can look for my notes. LMK.
      ruclips.net/video/hrwoKO7LMzk/видео.html

  • @3sixtymining
    @3sixtymining Год назад

    I watched a bunch of videos on how to this and your video was the most thorough and simplest to follow. Thanks!

  • @burakturksever
    @burakturksever 10 месяцев назад

    The Cloudflare DNS API solved all the issues with my setup, thanks

  • @manytriangles9600
    @manytriangles9600 2 месяца назад

    thank you! i was struggling with this for a little bit but your video was great. had watched a few other videos and read a few random forums but didnt have any luck until i saw this :) not the first time your videos have helped me/taught me something!

  • @adonisrn
    @adonisrn 2 года назад

    13:48 I think the most important tip. This is how the redirects worked on my server. Great tutorial, thx.

  • @hazthematt
    @hazthematt 2 года назад

    I love you humor man and your tutorials are next to none!

  • @Joshawa
    @Joshawa 11 месяцев назад +1

    This video was so helpful, I subscribed just for how useful it was and how easy to understand you made it. Thank you!

  • @evtyler
    @evtyler 2 года назад +3

    Fantastic tutorial! Your teaching style is perfect.

  • @258JUAN
    @258JUAN Год назад

    Amazing. This got me where I wanted.
    Goal: Running proxmox server with an ubuntu server VM (wondering if I should just run ubuntu server, but guess I can learn proxmox and ubuntu together). Have some docker containers running in the ubuntu server and wanted to get them on the entire internet. This get you there! Feels good.

  • @willpowelluk
    @willpowelluk Год назад +5

    Incredibly well explained. So efficient and easy. Thank you!!

  • @idanzehavi7883
    @idanzehavi7883 Год назад

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

  • @buildingsbyair
    @buildingsbyair 8 месяцев назад +1

    what are the pros and cons of this (nginx) versus cloudflared?

  • @unkreativnet
    @unkreativnet 10 месяцев назад

    Thanks man. I am just starting my homelab and your video answered so many questions!

  • @KhelyH
    @KhelyH Год назад

    man, this is so far the most perfect solution out there to host nextcloud with https! subscribed! thank you man!

  • @insaneiaq
    @insaneiaq 2 месяца назад +1

    You’re King of the trees, drinking from cups. Not my chair, not my problem, that’s what I say.

  • @SelfHostedToast
    @SelfHostedToast Год назад +2

    Amazing video! Great coverage of all steps involved. This fixed EVERYTHING!

  • @DarthDweeb
    @DarthDweeb 2 года назад +1

    This is basically how I set up my website. It's served from a raspberry pi and instead of running nginx I ran certbot on the pi. I needed to stop proxying my ip for a minute for certbot to work but it works. I have the lowest power web server on earth. For a site that isn't maintained and no one goes to.

    • @RaidOwl
      @RaidOwl  2 года назад

      “For a site that ain’t man ganged and no one goes to” 😂

  • @rory2569
    @rory2569 4 месяца назад +1

    almost spat my drink out at the screaming in pillow scene.

  • @HosamAlmoghraby
    @HosamAlmoghraby Год назад +2

    Great video. I think when you activate the option "Always use https" on Cloudflare 14:01, you ask cloudflare to redirect any request coming to http 80 to 443 https. Then I don't find any reason why you would open the port 80 on your firewall 6:41

    • @nemac23
      @nemac23 Год назад +1

      Good point!

  • @chrislanejones
    @chrislanejones Год назад

    his is great, I knew about everything you referenced just didn't know what steps to take. I subscribed!

  • @Nallieheai
    @Nallieheai 11 месяцев назад

    Thank you so much for the video, your channel has been a huge help for me getting into self hosting and developing my tiny homelab! Which hopefully will grow with time! 😆

  • @annony1annony191
    @annony1annony191 8 месяцев назад

    props to you Raid Owl you provided an excellent tutorial and I was able to get my system running using it have a great day. :)

  • @crowlsyong
    @crowlsyong 2 года назад +2

    7:56 lol mista balloons....mista balloon hands. Mista walkway! Mista walk down me. Who's chair is that?

  • @naimroslann
    @naimroslann 2 года назад +2

    Great video! You covered pretty much everything. From port forwarding to SSL. Thank you!

  • @thebatman212324
    @thebatman212324 11 месяцев назад

    This just saved me a ton of reading! Thank you!

  • @JoelFabiani
    @JoelFabiani Год назад

    You're the best man! Finally got it working.

  • @inoursh
    @inoursh Год назад

    you got a like just because of the introduction, that was amazing :D

  • @octaviomontt89
    @octaviomontt89 6 месяцев назад

    Thank you so much for the easy tutorial. Worked super well!!

  • @maciofacio364
    @maciofacio364 Год назад

    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.

  • @komodowaran_2700
    @komodowaran_2700 Месяц назад +7

    Why would one not just use a cloudflare tunnel? are there advantages of using nginx as a reverse proxy and not cloudflare directly?

    • @hujake5406
      @hujake5406 16 дней назад

      My man. please enlighten me if you have the answer

    • @rdangdev
      @rdangdev 11 дней назад +2

      Cloudflare tunnels can technically see all the traffic you’re tunneling through, including any self hosted media (which i believe is technically not allowed in their T&Cs). Using Cloudflare only for SSL keeps everything local

    • @lysolan269
      @lysolan269 7 дней назад

      Cloudflare tunnel is managed thru their dashboard and limited by free tier restrictions. Some services also just plain don’t work thru Tunnel + requires functioning vpn thru cloudflare on client devices

    • @Poyshneck
      @Poyshneck 6 дней назад

      ​@@hujake5406if you don't pay for the full service you're limited to file sizes of 150mb through the tunnel. Also, why host your own stuff if you're just going to open it up for a third party to have unencrypted access to it in transfer?

  • @alflasalle
    @alflasalle 4 месяца назад

    Awesome. This Video helped me to get a subdomain working. Thanks a lot

  • @leesweets4110
    @leesweets4110 Год назад

    One of the whole points of using cloudflare is to circumvent the need to reconfigure your router. I dont have access to my router; its shared in a small community and controlled by one individual landlord. I was turned onto cloudflare as a means of tunneling through and allowing external connections to my computer, without having to set any port forwarding in the router. Hiding my IP from people was never my intention in using cloudflare

  • @killahert
    @killahert 6 месяцев назад

    Look into implementing all your SSL's from CF using their "Origin" Certs into the Reverse PM, it will change your life. You will get a 15 year SSL cert that you don't have to worry about replacing in your Reverse PM for at least 15 years.

  • @Marco-rj3wv
    @Marco-rj3wv 6 месяцев назад

    This video is a god send. Keep up with the great content

  • @grlucas
    @grlucas 2 года назад +4

    Super helpful. Thanks very much! Even though my ISP blocks port 80 (we can't be hosting any web sites now, right?), this worked perfectly. Much appreciated!

  • @7073shea
    @7073shea 2 года назад

    Thanks owl! Perfect timing too as one of the use cases for my server is going to be hosting my website

    • @RaidOwl
      @RaidOwl  2 года назад

      You're welcome, Sean! Hope this guide works for ya.

  • @timothyrobertson4451
    @timothyrobertson4451 Год назад +1

    Great, easy to follow video. Do you have a static ip? Would this work on a dynamic ip?

  • @anhtaionline123
    @anhtaionline123 14 дней назад

    Great video, however can I ask how can I input the IPv4 Address in Cloudflare A record if my IPv4 public address is a dynamic one ?
    Is it required to replaced with a DDNS name instead ? And how to set it up ?
    Looking forward to hearing from you soon. Thank you.

  • @cyberslitheen
    @cyberslitheen 8 месяцев назад +2

    I'm a real beginner with this, do you know how to set up Cloudflare tunnels to point to nginx?

  • @somedude5353
    @somedude5353 10 месяцев назад

    This is great, thank you. How do you do you provide SSL certificates for local services that you don't want to expose to the world?

  • @gipanze1
    @gipanze1 7 месяцев назад

    subscribed in 30 seconds this guy is hilarious

  • @MrDoldora
    @MrDoldora 10 месяцев назад

    Yes, it helped a lot! Thank you for the easy explainations!!!!

  • @DavidCastillaGil
    @DavidCastillaGil 2 года назад

    You got me when you said... "show it off to all your friends and yeah" here's my friend RabbitMQ...
    Totally worth a new sub! Thanks for the video, great work summarizing what could usually be a complex topic and still making it fun.

    • @RaidOwl
      @RaidOwl  2 года назад +1

      Haha he’s a great listener

    • @DavidCastillaGil
      @DavidCastillaGil 2 года назад

      @@RaidOwl indeed he is! But he's also a great broker, be careful who he exchanges your data with, he might sell your keys quicker than my ex did! lol

  • @KngSovereign
    @KngSovereign Год назад

    It's crazy how fast this tech moves.
    This video was great but cloudflare tunnels removes the need to open ports on the router or forward ports (or even open ports in docker 👀).

    • @RaidOwl
      @RaidOwl  Год назад

      Nah tunnels still have limitations on bandwidth and file size transfers.

  • @goarus
    @goarus Год назад

    Thanks for the video. Could you make some more videos about cloudflare settings? There are too many of them.

  • @ironjustice3067
    @ironjustice3067 21 день назад

    This was such a massive help thank you

  • @imorganmarshall
    @imorganmarshall 4 месяца назад

    There are several amazing one liners in this video, really making me laugh, great video

  • @reg_legs
    @reg_legs Год назад

    This was perfect. Also, drinking out of cups.

  • @gandalfilgrigio97
    @gandalfilgrigio97 Месяц назад +1

    this might be a stupid question but is there a difference between this method and using cloudflare tunnels?

  • @gacpac
    @gacpac Месяц назад +1

    so basically we are still doing port forward and simply doing proxied in cloudflare so you get some more control.

  • @streambarhoum4464
    @streambarhoum4464 Год назад

    For more privacy and full control Could we able to create our own DIY CDN Without the need of cloudflare?

  • @alel1531
    @alel1531 Год назад

    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! 🤙

  • @Gragorg
    @Gragorg Год назад +1

    Great video this solved my exact problem I had. This was very well explained. Thanks!

  • @crowlsyong
    @crowlsyong 2 года назад +2

    6:34 Sweet. I like when people know their audience- like ya I know how to figure out port forwarding on my router/windows/modem, but I have no clue where to start with spinning up my files to (safely) be accessible from the web. You know exactly what kind of people are here. Top comment is a useful addition as well- that port 80 comment. Very nice community here. Here, take my like and my sub. Have a nice day. :)

    • @RaidOwl
      @RaidOwl  2 года назад

      Thanks so much for the kind words! 😊

  • @mziminski
    @mziminski Год назад +1

    Great video!! I currently use Google domains with Dynamic DNS because I don’t have a static IP address. Is there a way to do this with dynamic DNS and use a CNAME instead?

  • @angelosmoraitis4567
    @angelosmoraitis4567 Год назад +1

    Well ok to punch a whole in to the firewall of router but what about the man in the middle attack or some how someone knows the public IP? Is it better to have in docker a tunnel connected to the cloudflare (also better for people like me with random public IP for every restart of the router) then in the dashboard create the link with auto SSL wildcard certificate to point to the nginx and then to the server with SSL from the nginx?

  • @aremeaine
    @aremeaine 4 месяца назад

    thanks for a guidelines. now time for more research

  • @elmagico3488
    @elmagico3488 8 месяцев назад

    great video even 2 years ! my doubt is the ip in my home chance after someone days(not static ip) and this tutorial mean "set your public ip in cloudflare configuration....", so this is a problem if my home ip is not static ?

  • @djsnakez
    @djsnakez 2 года назад

    This really made my day. Thank you!

  • @samuelg3024
    @samuelg3024 7 месяцев назад

    Nice video. Do you have any suggestions or advice for the 100MB upload limit? I have a Synology NAS and cloudflare limits uploads to 100MB.

  • @brandonhill9356
    @brandonhill9356 9 месяцев назад

    absolutely wonderful! thank you!

  • @francisjaycababan6912
    @francisjaycababan6912 11 месяцев назад +1

    sir, is this applicable for internet subscriptions with static public ip address?

  • @bayerlau2090
    @bayerlau2090 7 месяцев назад

    How to manage non fixed public ip? Can you cover how to setup DDNS on Cloudflare?

  • @JeanPaulB
    @JeanPaulB 8 месяцев назад

    Very nice! I imagine this won't work if your ISP blocks ports 80 and 443, right?

    • @RaidOwl
      @RaidOwl  8 месяцев назад +1

      Correct

  • @getzybaggins
    @getzybaggins 8 месяцев назад

    Mr. Walkway. Mr. 'walk down me, I'm the walkway'. Lead me to the building....

  • @bryanteger
    @bryanteger Год назад

    Great video dude. Not my chair. Not my problem.

  • @StanyCarteny
    @StanyCarteny 2 года назад

    Great works!!!! sei bravissimo, è un piacere seguirti!!!

  • @jamesfatula5824
    @jamesfatula5824 Год назад

    One biggest problem with using port 80 and 443 is isp provider blocks those on customers for homes and requires us to use business plan costs more .... So workaround is port forwarding in router to different ports it really aucks

  • @JeffEngle_rvbuiltfortwo
    @JeffEngle_rvbuiltfortwo Год назад

    Found a work-around for TrueNAS Scale is to use Cloudflare tunnels without Nginx.