Super Simple Cloudflare and Nginx Proxy Manager Setup Using YOUR Domain

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • You want to expose your self-hosted services but want to do it securely using your own domain? Start with the basic Cloudflare and Nginx Proxy Manager options and see just how easy it is to setup! Don’t forget to forward ports 80 and 443 to the IP of the machine your Nginx Proxy Manager is on. Do this in your router or gateway. Find the IP by opening a terminal and type “ifconfig”. If that doesn’t work install net tools by typing “sudo apt install net-tools” then run the ifconfig command again.
    Written guide
    thehomelab.wik...
    👍 Subscribe!
    www.youtube.co...
    ❤️If you want to make a monetary donation. Thank you!
    ko-fi.com/geeked
    💬 Join us on Discord
    / discord
    Tags used in this video:
    2020, synology domain, setup synology with reverse proxy, synology, cloudflare, synology and cloudflare, networking, selfhosting, self-hosted, self hosting, geeked, homelab, geekedtv, grablab, install nginx proxy manager, using cloudflare with your domain

ความคิดเห็น • 198

  • @selfhosted
    @selfhosted  4 ปีที่แล้ว +33

    Don’t forget to forward ports 80 and 443 to the IP of the machine your Nginx Proxy Manager is on. Do this in your router or gateway. Find the IP by opening a terminal and type “ifconfig”. If that doesn’t work install net tools by typing “sudo apt install net-tools” then run the ifconfig command again. You can also use the ip addr command.

    • @TheMentalFlakes
      @TheMentalFlakes 4 ปีที่แล้ว +4

      When it comes time for the automatic Let's Encrypt cert renewal, will I have to turn the Cloudflare proxy back off for it to renew? Or it will renew on its own?

    • @condor13
      @condor13 3 ปีที่แล้ว +2

      Man hot did i forget that! Thanks!!! was struggling for hours to get https working!

    • @vicwilliams9731
      @vicwilliams9731 3 ปีที่แล้ว +3

      When i forward the ports. and click on my domain name. It just takes me to the login page of the nginx proxy manager

    • @DangerRangerThings
      @DangerRangerThings 2 ปีที่แล้ว +1

      Hi there. I'm wanting to follow your written guide, but it looks like your site is down?

    • @rc_brotherz
      @rc_brotherz 2 ปีที่แล้ว

      LOL I was wondering why my subdomain kept taking me to my router login!! Hah! May want to add this as one of those info cards on the video.

  • @Elmojomo
    @Elmojomo 2 ปีที่แล้ว +19

    You just earned a sub for the ONE detail you included that no one else has mentioned: turning off the Cloudflare proxy temporarily until after adding the SSL!! I've been struggling with this for literally weeks. That one little thing suddenly made my setup work...thank you so much!

    • @selfhosted
      @selfhosted  2 ปีที่แล้ว +3

      I’ve had quite a few people tell me this. Good to hear my video helped you and thanks for watching!

    • @ijaricool
      @ijaricool 9 หลายเดือนก่อน

      hey, do you know why right now you dont have to do that actually? when proxy is enabled i can still make a certificate in nginx ?@@selfhosted

  • @lorddias
    @lorddias 8 หลายเดือนก่อน +1

    I know its been a couple of years now but thanks a ton for this video! I was so lost trying to complete setup and I was constantly making things more complicated than they needed to be. I gave it an honest try but your video did the job, thank you.

  • @geraldmaale
    @geraldmaale 3 ปีที่แล้ว +3

    Wasted almost 12hours in getting around this hack. You are a life saver. The port mappings were tricky for me. I went around almost all options except what you demonstrated. Cheers! 👌👌🤞🤞

    • @selfhosted
      @selfhosted  3 ปีที่แล้ว

      Glad it helped! Thanks for sharing your feedback!

  • @KevinMarchese
    @KevinMarchese 3 ปีที่แล้ว +2

    9:32 omg 😳 these are the little things people fail to tell the tale of on why. Thank you extremely helpful.

  • @andreloureiro8127
    @andreloureiro8127 2 ปีที่แล้ว

    Not going to lie, im trying to learn some stuff before I start tinkering on my machine and this video is by far the most comprehensive of all of the ones i saw

  • @boomuhjuice6299
    @boomuhjuice6299 6 หลายเดือนก่อน

    A million thumbs up, this is the 5th tutorial I've watched on setting up NGINX, the first one I got to work
    And I only needed to watch a single time,

  • @LonSeidman
    @LonSeidman 4 ปีที่แล้ว +12

    This was a super helpful and simple guide. I did an experiment where I booted up the NPM docker on an Unbuntu VM running on my Synology NAS' virtual machine manager and then passed traffic to an OwnCloud docker running on the Synology as well. The VM got its own IP (similar to how it would work with Proxmox) and I did not experience any collisions with the Synology port 80 and 443 issue. The only thing I ran into with that configuration was that the Owncloud docker image did not have SSL configured so I used cloudflare's SSL instead. Seems to work and the cert is valid.

    • @selfhosted
      @selfhosted  4 ปีที่แล้ว +3

      Lon.TV sounds right! As long as you’re not hosting NPM on synology root. The VM makes sense! Happy to have your input!

    • @huntermcclovio4517
      @huntermcclovio4517 3 ปีที่แล้ว

      wow! you got input from Lon.TV!! how cool is that! I am subscribed to both of you guys' channel good stuff!!

    • @huntermcclovio4517
      @huntermcclovio4517 3 ปีที่แล้ว +1

      @Harlem Wilder uh yeah, we don't give a shit! F- off

  • @Luke-cb7hi
    @Luke-cb7hi 4 ปีที่แล้ว +2

    3 month ago I tried to setup cloudflare but without success, now I get why.
    Thanks a lot I will try again with your tutorial in mind !

    • @selfhosted
      @selfhosted  4 ปีที่แล้ว +1

      Sandro Man Let me know how it goes!

    • @Luke-cb7hi
      @Luke-cb7hi 4 ปีที่แล้ว

      @@selfhosted unfortunately nginx didn't work because I use a raspberry as my selfhost machine, but cloudflare did !
      Thanks again

    • @selfhosted
      @selfhosted  4 ปีที่แล้ว

      Sandro Man th-cam.com/video/2oi4IQF7VnE/w-d-xo.html

    • @Luke-cb7hi
      @Luke-cb7hi 4 ปีที่แล้ว

      @@selfhosted uhh, thanks

  • @bernieyee
    @bernieyee 3 ปีที่แล้ว

    Thank you much! I followed your video today and got my Plex server online now! Most of my time has been spend on "Don’t forget to forward ports 80 and 443 to the IP of the machine your Nginx Proxy Manager is on. " I wish that I read the description before watching the video! LOL! Anyway, great video and please keep going!!!

  • @joftenly
    @joftenly 3 ปีที่แล้ว +1

    Hey thanks! I broke a lot doing this tutorial, I learned how to fix more stuff and I got the original thing done using this tutorial lol! Thanks for the quality vid!!

  • @GluttonyGamingChannel
    @GluttonyGamingChannel 2 ปีที่แล้ว

    you may not have a ton of subscribers yet but with the way you present you will. thanks for the great video

  • @faba002
    @faba002 3 ปีที่แล้ว

    Finally someone who explains it correctly for a starter. Great video !

  • @NickKarpen
    @NickKarpen 5 หลายเดือนก่อน

    Great Explanation! New to home lab and just stumbled across your channel. Bummed to see that you are not creating many new videos.

  • @SrFrancia0
    @SrFrancia0 2 ปีที่แล้ว +1

    Great video, thanks. I would suggest you zoom webpages as much as you can so future "tutorials" like this are watchable on smaller screens or smaller windows so we can follow steps while watching

  • @PeterBatah
    @PeterBatah 2 ปีที่แล้ว

    Thank you for sharing your time and expertise with us. Your delivery was clear and precise. No apology necessary. Much appreciated.

  • @HowToITLLC
    @HowToITLLC 3 ปีที่แล้ว

    I loved this! Thank you! I am getting a 502 error but that means it is my set up officially this video helped me troubleshoot a lot, thank you.

  • @RuneW0lf
    @RuneW0lf 4 ปีที่แล้ว +1

    Well. thanks to you i now have subdomains setup and working beautifully, thankyou for the amazing tutorial!

    • @selfhosted
      @selfhosted  4 ปีที่แล้ว

      Rune W0lf Awesome! Glad to hear!

  • @zandadoum
    @zandadoum 9 หลายเดือนก่อน

    Heya, about Synology: while you're right that :80 and :443 are reserved on the Synology and a real hassle to change, if you're behind a ISP router, you can just redirect :80 and :443 on your router to something else. And run NPM in docker on your Synology. About snapshots: that's also possible on your Synology with snapshot replication. Just target your \volume1\docker folder and restore if needed.

  • @patrickmoon4090
    @patrickmoon4090 ปีที่แล้ว

    Thank you for your kind explaination! I got it finally!

  • @ZacharyGuerrero
    @ZacharyGuerrero 4 ปีที่แล้ว

    Thanks this is awesome!
    I wish I knew about Nginx Proxy Manager before. using that will make managing all my proxy servers so much easier vs manually editing each one.

  • @gabscar1
    @gabscar1 7 หลายเดือนก่อน

    Nice video. Not sure about the super simple bit, though. Thanks!

  • @FunkShoi
    @FunkShoi 2 ปีที่แล้ว

    thanks for making a video for the rest of us!

  • @euf0ria
    @euf0ria 3 ปีที่แล้ว +1

    Great walktrough! Have you considered making more of these videos and have a deeper look into the rest of the settings in both cloudflare and NPM?

  • @DrummClem
    @DrummClem 3 ปีที่แล้ว +1

    Hello there.
    That tutorial is extremely clear and staightforward ! Thanks to you I was able to get the certificate !
    Unfortunately, I still can't access my NAS (Nextcloud) and I'm probably still missing something but can't figure out what...

  • @jaygreentree4394
    @jaygreentree4394 2 ปีที่แล้ว +1

    With nginx proxy manager you can even have it connect to your cloudflare account to create dns records for you so you dont have to do both manually.

  • @larrybahr489
    @larrybahr489 3 ปีที่แล้ว

    This was a great and quick video. Exactly what I wanted to know!

  • @t_Radikl
    @t_Radikl 3 ปีที่แล้ว

    Really loving your content! Very well explained. Keep up the great content and I’ll keep smashing that like button!

  • @officialismailshah
    @officialismailshah ปีที่แล้ว

    ❤️❤️❤️ respect Sir it was awesome and full of knowledge...

  • @eduardoalmontemieses4842
    @eduardoalmontemieses4842 4 ปีที่แล้ว

    Thanks for answering my last question and thanks for this whole video on the subject. Love the channel and content. Going with a RPI to try this out 🤙🏽

    • @selfhosted
      @selfhosted  4 ปีที่แล้ว +1

      Eduardo Almonte Mieses my good buddy DBTech has a great video for installing NPM on rpi. th-cam.com/video/2oi4IQF7VnE/w-d-xo.html

    • @eduardoalmontemieses4842
      @eduardoalmontemieses4842 4 ปีที่แล้ว +1

      @@selfhosted Up and running! Huge thank you!

    • @selfhosted
      @selfhosted  4 ปีที่แล้ว

      @@eduardoalmontemieses4842 Awesome! good to hear!

    • @eduardoalmontemieses4842
      @eduardoalmontemieses4842 3 ปีที่แล้ว

      @@selfhosted Wondering if I now use a domain such as nas.mydomain.com via Nginx to load up DSM, can now use that domain to use services such as Hyper Backup that require ports such as 6281 from a remote NAS, or am I stuck using home IP + opening ports.

  • @jig1056
    @jig1056 3 ปีที่แล้ว +3

    Nice video, thanks. So you mentioned that I need for turn off proxy in cloud flare before setting up the cert in nginx proxy manager. I’ve not done this and it seems to work fine. every once in a while I’ll get an error in nginx advising of an internal error when adding the cert but i try it again and it works fine. I didn’t know that they proxy should be off, what is the impact of of having proxy on when creating cloudflare entry?

  • @henslyyung6221
    @henslyyung6221 2 ปีที่แล้ว +1

    Great Video. While recording use a lower resolution setting for your screen or you will need to edit and focus on smaller windows so we can read properly.
    Thanks keep it up.
    Subscribed.

  • @RobinGiel
    @RobinGiel 3 ปีที่แล้ว

    this video introduces me to nginx proxy manager :-) thank you

  • @RK-ly5qj
    @RK-ly5qj 3 ปีที่แล้ว

    That music is enjoying ^^

  • @pascalh5870
    @pascalh5870 ปีที่แล้ว

    it's also a good advice to run a fail2ban docker container which allows cloudflare to block rouge like IP's for enhanced protection of your services

  • @bigups43
    @bigups43 ปีที่แล้ว

    Just FYI you can do the cert in NGINX proxy manager with CloudFlare proxy enabled.

  • @kevinmeza
    @kevinmeza ปีที่แล้ว

    Thank you so much this helped!

  • @jamesvdos3875
    @jamesvdos3875 4 ปีที่แล้ว

    Awesome tutorial! keep up the amazing work!

  • @stevebaros
    @stevebaros 2 ปีที่แล้ว

    Thank you , this is a life saver

  • @eliluong
    @eliluong 3 ปีที่แล้ว

    thanks, helped figure out the issue why nginx proxy manager was not getting SSL cert behind cloudflare!

  • @chrisbuckley9343
    @chrisbuckley9343 2 ปีที่แล้ว +1

    I used this guide to loosely finish up my Jellyfin install, but when I try to connect via a subdomain, I get a 504 error (gateway time-out). I had no A recoed for www, but I've added it. Should the content be my public IP? Any help would be appreciated.

  • @piersolenski4145
    @piersolenski4145 3 ปีที่แล้ว

    Thanks, this was super helpful!

  • @gouthamshiv
    @gouthamshiv 3 ปีที่แล้ว

    It was really great sir 👍🏻

  • @Eriksonlove69
    @Eriksonlove69 2 ปีที่แล้ว

    Very good tutorial, nice work

    • @selfhosted
      @selfhosted  2 ปีที่แล้ว

      Thank you! Cheers!

  • @kevinhughes9801
    @kevinhughes9801 4 ปีที่แล้ว +1

    Great vid thanks for doing this

  • @ScheveninGaming
    @ScheveninGaming 3 ปีที่แล้ว +2

    How were you able to configure your sites with access lists to read your actual ip and not the proxied ip that cloudflare has you connecting as? When I put an access list on a site that only allows my public ip, I am still unable to access the site because of the cloudflare proxy making my ip appear as one of cloudflares many ips.
    I guess I am also asking if you proxy the sites which you have an access list on. How are you getting nginx pm to recognize your IP when you try to connect to your site behind cloudflare proxies?

  • @Rokegle135
    @Rokegle135 2 ปีที่แล้ว

    Honestly super detailed video and incredibly helpful sadly I can't make a ssl certifcate for whatever reason but still great video

  • @netto_info
    @netto_info ปีที่แล้ว

    I was curious to know which distribution you use on the desktop.

  • @phil2of3
    @phil2of3 3 ปีที่แล้ว

    Came here because my ssl certificate was failing, who knew you had to temporally toggle the proxy status to make it work.

  • @DamnJuhl
    @DamnJuhl 3 ปีที่แล้ว

    Very helpful!

  • @waichan2613
    @waichan2613 3 ปีที่แล้ว +1

    Thanks for your effort. Can I substitute truenas for snology nas in this case ?

  • @LetMattEntertainYou
    @LetMattEntertainYou ปีที่แล้ว

    Everything was going great except I get an "Internal Error" in NGINX when trying to save with a Let's Encrypt certificate. Any ideas?

  • @Mick_C
    @Mick_C ปีที่แล้ว

    hello, i tried, follow all the step but it does'nt work. Always a 522 error. Don't understand why.

  • @bp-1995
    @bp-1995 11 หลายเดือนก่อน

    so I'm running nginx on a home assistant VM in proxmox, but when I go to the subdomains I create it just takes me to the login page of nginx, any suggestions?

  • @jumpieva
    @jumpieva 7 หลายเดือนก่อน

    how about using the CF cert for your domain when you do NOT want to expose anything to the internet? I just want trusted certs on all my internal devices and not rely on self signed. I tried to generate an origin cert and upload to NPM, and using a private IP DNS record. Workflow wise this works, but my browser doesn't like it, I probably messed something up. Is there any way to accomplish this (I'm not even a fan of the tunnel option for just myself), without having to setup my whole CA in house?

  • @okanerdem
    @okanerdem 2 ปีที่แล้ว +2

    Why not CNAME ? You added as A what's different?

  • @faisalali793
    @faisalali793 3 ปีที่แล้ว

    Very informative video. If you could zoom in on the content a little bit that would be perfect.

    • @selfhosted
      @selfhosted  3 ปีที่แล้ว

      I'll keep that in mind. Thanks for watching!

  • @bradscoolio
    @bradscoolio 3 ปีที่แล้ว

    I've found Cloudlared Argo Tunnels to be an effective way of exposing services.

    • @selfhosted
      @selfhosted  3 ปีที่แล้ว

      Dont they charge for that though?

    • @bradscoolio
      @bradscoolio 3 ปีที่แล้ว

      @@selfhosted there's something Argo related that's paid, but I'm not sure what it's offering. I seem to be able to spin up infinitely many tunnels, with each on a subdomain, and I've got an ansible role to deploy them.

    • @selfhosted
      @selfhosted  3 ปีที่แล้ว

      @@bradscoolio You've peaked my interest. Can you link me to some docs on how to spin these up?

  • @auronarcher
    @auronarcher 3 ปีที่แล้ว +1

    When attempting to make the SSL cert at the 11minute mark I keep getting an error saying it is already in use????? Where did I go wrong?

  • @MrAndroid2013
    @MrAndroid2013 3 ปีที่แล้ว +1

    What if I wanted to change the ports from 5:39 AFTER it's already been configured? I can't seem to find the .conf file within docker.

    • @selfhosted
      @selfhosted  3 ปีที่แล้ว

      You can just change them in the command and rerun it. As long as your files are there it will use the new ports and then go into your router and change them accordingly.

  • @Breeegz
    @Breeegz 2 ปีที่แล้ว

    I couldn't find the written guide.. It looks like you migrated to "noted" did you omit this one for a reason, or will it show back up in the future?

  • @PCMagikHomeLab
    @PCMagikHomeLab 2 ปีที่แล้ว

    why NginX Proxy Manager works with apps in docker (in same docker where is npm)? with other servers still i need to put ports with domain name? (servers are other VMs with diffrent ip address) can You explain me that? what im doing wrong?

  • @andrewa3216
    @andrewa3216 ปีที่แล้ว

    This stuff hurts my brain so much. So, does cloudflare work hand in hand with the ssl cert you get from letsencrypt? I assume there are now 2 certs? one for cloudfare and one for nginx?

  • @Nonilolsis
    @Nonilolsis 2 ปีที่แล้ว +2

    Hi thanks for the video, but a couple of questions arose:
    - If you request a lets encrypt cert with npm and turn on the proxy mode afterwards on cloudflare, will the automatic cert renew work properly?
    - After enabling the proxy mode and visiting the domain for which you created an A record, which certificate is used the cloudflare one or the lets encrypt one? If the cloudflare one is used anyway (due to proxyied mode) why bother with lets encrypt?

  • @irwige
    @irwige ปีที่แล้ว

    No matter how many times I do this, as soon as I turn on Proxy it stops working?

  • @karmaspcs
    @karmaspcs 3 หลายเดือนก่อน

    6:04 not working. error all over the place. there is a very importand step missing.

  • @brbbst
    @brbbst ปีที่แล้ว

    Would be possible to give your hdd a new identity (virtualise it) and use it from outside (proxmox/docker)?

  • @robersniper
    @robersniper ปีที่แล้ว

    So I cant use a proxied cloudflare record?

  • @byrk0ff
    @byrk0ff 2 ปีที่แล้ว

    Hello, will this option work when my ISP assigns multiple users to one IP?

  • @xiaxiao7567
    @xiaxiao7567 3 ปีที่แล้ว

    Very clear thanks! a lot! one question can you use the nginx proxy manger as an load balancer or?

  • @ahmedaborady7883
    @ahmedaborady7883 ปีที่แล้ว

    Problem i found with cloudflare after following all the steps and it all worked perfectly but cloudflare has kind of a limit 100mb so if u login to the synology nas on synology photos it'll login but if you try to upload a videos thats bigger than 100mb u'll get an error and it wont upload I've followed same steps using wix domain i have and mobile upload worked again

  • @korten88
    @korten88 ปีที่แล้ว +1

    Great video! I ran into the same problem with the Cloudflare proxy needing to be disabled for the certs to get provisioned. One question though, does the enabling of proxy in Cloudflare DNS prevent the certs from being renewed? Any feedback will be appreciated :)

    • @MarcodeBock
      @MarcodeBock ปีที่แล้ว

      I have the same question. If I would guess, I assume the renewal won’t work in this way.

  • @alanjrobertson
    @alanjrobertson 2 ปีที่แล้ว

    Interesting vid - why the added complexity of Cloudflare and Docker though? Why not just install direct on the Linux box?

  •  ปีที่แล้ว

    after adding the domain to cloudflare in this way and redirecting the service via ngiex proxy manager, I keep getting error Origin is unreachable Error code 523
    I will add that the domain is correctly redirected to cloudflare servers thunk you help:)

  • @rysterstech
    @rysterstech ปีที่แล้ว

    For those who cannot port-forward for whatever reason (such as being behind CG-NAT). One solution i have found is to use Tailscale Funnel. its in beta right now and i had to join a waiting list to get it although that currently seems to no longer be the case, but this would allow you to self-host in situations where port forwarding is impossible. There are probably other better solutions to this that funnel, but its the only thing i have experience with.

  • @belizejackie
    @belizejackie 3 ปีที่แล้ว

    i kept getting 502 Bad Gateway on my vps ..
    try to forward docker container

  • @4Abaddon4
    @4Abaddon4 3 ปีที่แล้ว

    Thank you so much for your mentioning at 9:52 why my Proxy manager SSL cert assigning wouldn't work. It could not see the wan IP because of Cloudflare proxy ... man I feel dumb

  • @abdoulouhichi4946
    @abdoulouhichi4946 ปีที่แล้ว

    is it possible to do this senario using linode vps brother !?

  • @shaunpx1
    @shaunpx1 3 ปีที่แล้ว

    Awesome guide! do you know how we could switch from using Mysql to Mongo DB or Couch DB NoSQL data base?

  • @SeanAnthony
    @SeanAnthony 3 ปีที่แล้ว

    Great tutorials. I'm trying to following your NPM video, however I need to get docker running on a Ubuntu server.
    I'm using Proxmox and trying to place docker in LXC running Ubuntu. I'm getting all sorts of error that docker-ce has failed to load. I followed other videos that say it should work but I can't seem to get it working. I tried 20.4 and 18.04 and get the same error.
    Should I hang up trying to use the LXC and attempt the setup in Proxmox VM?
    Thanks for these tutorials they are helping me slowly get my Homelab up and running.

  • @OzDeaDMeaT
    @OzDeaDMeaT 2 ปีที่แล้ว

    What is the difference between your nginx and the standard nginx container?

  • @jamesstones9827
    @jamesstones9827 3 ปีที่แล้ว

    Hey! Just tried this, but when i connect the orange proxy in Cloudflare, this stops working. I opened the 80,443 ports, and the 2000 port thats redirecting to my service. dont know where it might went wrong. Any help?

  • @geoffhalsey2184
    @geoffhalsey2184 3 ปีที่แล้ว +1

    Could you use a free hostname from No-IP as a home domain instead, with Cloudflare?

    • @leakthis7218
      @leakthis7218 3 ปีที่แล้ว +1

      Unfortunately not.

    • @RaduRadonys
      @RaduRadonys 3 หลายเดือนก่อน

      You can most probably. At least with free domains from DuckDNS (which is similar to No-Ip) it works.

  • @voiceoftreason1760
    @voiceoftreason1760 2 ปีที่แล้ว

    doesn't enabling the cloudflare proxy again on the A record make it impossible for the acme client to renew your ssl certificate?

    • @selfhosted
      @selfhosted  2 ปีที่แล้ว

      For some reason it doesn’t. Not in my experience.

  • @escanor3394
    @escanor3394 3 ปีที่แล้ว

    Thanks for the video it's extremely helpful and I was able to get my setup working. I'm rather new to web security so I don't quite understand why it's necessary to have Let'sEncrypt and cloudflare both supplying certificate security. Couldn't Cloudflare do it alone? or couldn't Let'sEncrypt do it alone? Still wrapping my head around the role each component plays. In any case I appreciate the video!

    • @escanor3394
      @escanor3394 3 ปีที่แล้ว

      Also I was a bit surprised when I did docker-compose down and all my data got erased. Guess I need to make the volumes external?

  • @OzDeaDMeaT
    @OzDeaDMeaT 2 ปีที่แล้ว

    I keep getting a 502 error. I am hosting this docker container on the same system that i am trying to proxy. Would that cause an issue?

  • @MrEric377
    @MrEric377 3 ปีที่แล้ว

    I just found your video, Thank you I was always missing the whole "how to setup external domain". My question is once I set this up can I use this internally as well? So Pihole(Local DNS provider) would direct traffic to cloudflare DNS which would give my ISP's IP and back inside my network. I guess I could just try it and see if it works.

  • @bootifulghost8624
    @bootifulghost8624 3 ปีที่แล้ว +1

    So how do I forward different machines from my router to nginx? Do I just setup a portforward of 80 and 443 for each IP of all the machines I want exposed? That's hella confusing

    • @selfhosted
      @selfhosted  3 ปีที่แล้ว

      No. I would just setup domains for each machine in one NPM instance.

    • @bootifulghost8624
      @bootifulghost8624 3 ปีที่แล้ว

      @@selfhosted Thanks for the fast reply, much appreciated. So from my understanding: I would run a docker NPM instance and connect all other docker services on the same machine into the same network and other machines (syno nas) also just through NPM with each having a specific subdomain and this should work. I'll try again and follow your video step by step.

  • @DjLundbladh
    @DjLundbladh 2 ปีที่แล้ว

    under "Improve security"i only have "Automatic HTTPS Rewrites" i have no options to set to full. Or is it the same thing? :)

  • @cptbrncls7050
    @cptbrncls7050 ปีที่แล้ว

    argh, why do I keep getting 'internal error' when requesting a certificate?

    • @selfhosted
      @selfhosted  ปีที่แล้ว

      Did you make sure the proxy was not enabled on cloudflare first? Wait until the cert gets assigned then enable the proxy in cloudflare.

  • @madsnygaard8354
    @madsnygaard8354 3 ปีที่แล้ว +1

    Can you highlight specific benefits from using NGINX proxy manager via docker vs using the built-in DSM Proxy management if any? I do like the GUI of the NGINX proxy panel but I'd also like to avoid installation bloat in case it's not needed. Thanks :-)

    • @kratoz29
      @kratoz29 3 ปีที่แล้ว

      I tried to use NPM after using the DSM reverse Proxy but it didn't let me use the ports, maybe it's because they are being used by Synology services, I don't know, I'm sticking with DSM reverse proxy for now.

    • @mysteryliner
      @mysteryliner ปีที่แล้ว

      Using all broadcasted services from synology, they each punch a hole in your firewall,
      And you're declaring to the world that you're hosting a synology server. So if there is a security exploit with synology, malicious parties will just try it on any synology service that's in the open.
      NPM, acts as the front desk and only opens 2 ports. It transfers you do whatever department without the need for an extra
      hole to get there

  • @sturdza7092
    @sturdza7092 3 ปีที่แล้ว

    I've been trying to get dsm working behind npm for a few days and no success, every time i get error 502, however for anything but dsm it works great. Does anyone have any idea what the problem might be?

  • @kissp79
    @kissp79 2 ปีที่แล้ว

    is there a link to the text that needs to be copied? And where to copy it?

  • @CarpeDiemEA
    @CarpeDiemEA 2 หลายเดือนก่อน

    Is it still actual in 2024?

  • @godmode8687
    @godmode8687 3 ปีที่แล้ว

    I dont know what i did wrong... It just doesnt work. Im close to giving up :/
    I reach the NGINX default site. When i then setup the proxy host in NGINX it says connection refused/rejected whatever, i dont know how it is translated.
    Anyone an idea?

  • @fbifido2
    @fbifido2 3 ปีที่แล้ว +1

    @13:20 - this "Proxied" mode, does it work when you need to renew your certificates ???

    • @okseby
      @okseby 3 ปีที่แล้ว

      That's what I'm wondering

  • @mstardomfinance8389
    @mstardomfinance8389 3 ปีที่แล้ว +1

    I am subscribed to you. Can you increase your font size of the text on the website you are displaying in your future videos. Hit the control button then click the plus sign on your keyboard to increase the font size. Thanks.

  • @JirkaLottmann
    @JirkaLottmann 3 ปีที่แล้ว

    when i change DNS only to proxited, then stop working site in cname. Any help please?

  • @wcmedic69
    @wcmedic69 3 ปีที่แล้ว

    Greetings, I was pretty excited to find your video as I have been unable to get ssl working on my local network with nginx and cloudflare... from the get go tho following your directions I cant get passed the initial config... here is what I get...
    sudo docker run -d \
    --name=nginx-proxy-manager \
    -p 81:8181
    -p 80:8080
    -p 443:4443
    -v /docker/appdata/nginx-proxy-manager:/config:rw \
    Jlesage/nginx-proxy-manager
    "docker run" requires at least 1 argument.
    See 'docker run --help'.
    Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
    Run a command in a new container
    -p: command not found
    -p: command not found
    -v: command not found

    • @wcmedic69
      @wcmedic69 3 ปีที่แล้ว

      Got it installed

  • @uppan3788
    @uppan3788 2 ปีที่แล้ว +1

    So what is the "DDNS route" that you mentioned at 9:25?

    • @mpt126
      @mpt126 ปีที่แล้ว +1

      Sorry to necro a 9 month old comment. I am looking into setting up NGINX to work with DUCK DNS using Cloudflare as domain manager. Did you ever get any progress with the DDNS route?

    • @PeterParker-ji8kg
      @PeterParker-ji8kg ปีที่แล้ว

      @@mpt126 me too