How to Use DNS Verification with your Reverse Proxy & use a Wildcard SSL Certificate

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

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

  • @The4Qman
    @The4Qman 5 лет назад +12

    My day gets a whole lot better when i get an alert saying my favourite channel has a new video :) I'm glad i can suppprt the channel being a Patreon.

  • @justangvano
    @justangvano 5 лет назад +9

    Still waiting on the pfsense tutorial to automatically transfer from the unraid vm to a bare metal box in case of downed server.
    Great video as usual! I always look forward to all your videos.

    • @perwis9893
      @perwis9893 5 лет назад

      I have the same wish. Would be great if you make a video could walk us through how you've done your setup.

  • @Registered55
    @Registered55 5 лет назад +13

    Would love to see a updated video on how we could utilize nginx proxy manager with next cloud, seafile and others. nginx proxy manager seems really amazing, but as a novice, would love to see a video on it.

  • @jafizzle95
    @jafizzle95 5 лет назад

    I was one of the people that commented on your LetsEncrypt video because I had an issue. Almost positive my ISP is blocking port 80 but they won't confirm it. I'm gonna try this soon. Thanks!

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

    This must be how grandma feels when she completes a big puzzle.
    I love you man, I got this working last night :D :D :D :D :D

  • @PatrickKalinowski
    @PatrickKalinowski 5 лет назад

    Thank you for the very useful video! A couple of weeks ago I had to (temporarily) switch to an ISP that blocks a number of ports. Great timing !

  • @The_Chupacabra1
    @The_Chupacabra1 5 лет назад

    You are the man!! I was stuck using port 82 for my main unraid gui and it was semi frustrating, now I have it back to the name.

  • @cornbread5477
    @cornbread5477 5 лет назад +9

    I see in this video you have Let's Encrypt Network type set as Bridge and not Proxynet like your last video. Is this a change that needs to happen? If so what other changes need to happen?

    • @amanraze
      @amanraze 4 года назад +1

      Got the same question. Anyone that can help?

  • @PeteDiful
    @PeteDiful 4 года назад

    Thanks again for another to-the-point technical video! Was beating my head over letsencrypt subdomain credential creation, and this video did the trick.

  • @RayS23
    @RayS23 5 лет назад +7

    Could you do a tutorial on how to set up Organizer V2 please?

  • @christopherhunt147
    @christopherhunt147 5 лет назад +7

    Could you do a video on TXT record for the domain root that would be needed by your domain to add dns record? Using cloudflare completely messed up my domain for about a week!

  • @hiddenpcmaster
    @hiddenpcmaster 4 года назад +1

    Thank you! another great video to the rescue. Ultimatley I found out my ISP has a switch to turn port 80 on and off on thier website. Ugh! Hopefully this info will help someone.

  • @MizzB33
    @MizzB33 3 года назад

    Would be great to see this integrated with the new Swag update, but I managed to figure in the changes and can FINALLY access my nextcloud! Many thanks!!!

  • @225redstick6
    @225redstick6 5 лет назад +7

    Any reason not to use the "proxynet" setting in docker container you previously mentioned? Also, I would love a future video explaining editing out configs to point to subdomains, I still find that confusing as my goal is to limit my ports that are exposed. Thanks again, can't wait to go try this out.

    • @lockzer0
      @lockzer0 5 лет назад +1

      I'd love to know the answer to this too. Does that mean we need to change it back to bridge for all of the dockers using this reverse proxy?

  • @Matt43
    @Matt43 4 года назад

    Thank you!
    Super helpful as I don't want any ports on my firewall open... but want to use vanity urls to access my dockers.

  • @Kelarik
    @Kelarik 5 лет назад +1

    Nice video, only thing I'd consider missing is reverting the permission change on the entire dns-conf folder

    • @thebaconboss
      @thebaconboss 5 лет назад

      Any idea what the permissions shpuld be changed back too?

  • @ScottElblein
    @ScottElblein 5 лет назад +1

    Not sure you want to use that global API key instead of the CA API key. The global key also allows for changes to be made to your cloudflare domains while the CA key is only used for certs.

    • @imzsoul
      @imzsoul 5 лет назад

      how would one just add the CA API?

  • @patrickpaez8086
    @patrickpaez8086 5 лет назад

    As always, a great video! Hope to implement this tonight. I've been wondering for awhile, why not use nano in unraid instead of an external editor?

  • @schaapschaap1
    @schaapschaap1 5 лет назад

    I really love you’re videos

  • @jimcook8134
    @jimcook8134 4 года назад

    Thank you so much. What a very helpfull video. You are the king.

  • @wondyr6714
    @wondyr6714 5 лет назад

    Awesome video! Exactly what I was looking for :)

  • @yiyang520
    @yiyang520 4 года назад +1

    Please help me!
    An unexpected error occurred:
    KeyError: 'code'
    Please see the logfiles in /var/log/letsencrypt for more details.
    ERROR: Cert does not exist! Please see the validation error above. Make sure you entered correct credentials into the /config/dns-conf/cloudflare.ini file.

  • @rallegade
    @rallegade 5 лет назад +4

    Very nice video indeed as always!
    I do think you are missing out on saying that it's important to turn off the HTTP proxy function and use "only DNS", when creating a cname.
    I know that you are turning it off in the video, but to a new guy trying to get it to work it could be a source to a lot of frustration if he didn't notice and leaves it on.

    • @pimogo
      @pimogo 5 лет назад

      can you explain why one can't let it run through the orange-cloud. i agree, as it doesn't work when i try, but i'd like to understand the reasons better. thanks!

    • @rallegade
      @rallegade 5 лет назад

      @@pimogo Yes of course and sorry for late response.
      The reason for it not working is because it's a http proxy and as they say themselves
      "While CloudFlare can resolve DNS for all of your subdomains, CloudFlare can only proxy domains that would be considered web traffic (www, blog, etc.). Subdomains like ftp, mail should be marked with a gray cloud. You can find the entire list of what should be marked with a gray cloud here."
      There is a huge list of services which are not able to use the feature (goo.gl/W8uzGK) and between these is SSL (which makes sense as it is an http proxy), and as we use ssl on port 443 to connect to the proxy server it is kind of pointless to try and use an http proxy first.
      Hope this answers your question :)
      Otherwise feel free to message me or reply again

    • @pimogo
      @pimogo 5 лет назад

      Rasmus Gade many thanks for the wonderful explanation!

    • @jcwade
      @jcwade 5 лет назад

      OMG thank you! Fixed it for me!

  • @hungminhtran3837
    @hungminhtran3837 5 лет назад

    Thank you for the very useful and Great video! What a good domain to buy and what did you used?

  • @thebadmf
    @thebadmf 5 лет назад

    Love your videos, always super helpful. But why did you point the sonarr sub domain to duckdns in cloudflare? If one had their own domain with a different provider, and had set up several sub domains, would each one need to be added here?

  • @perwis9893
    @perwis9893 5 лет назад +1

    Video request: could you do a video on your setup of having a backup second pfsense with wake on lan?

  • @AlienShine
    @AlienShine 4 года назад

    Bypass port 80 consumer ISP problematics, awesome!

  • @bobellison2547
    @bobellison2547 5 лет назад

    Great video. It worked for me. Do you have any idea if letsencrypt will auto-update my cert in 3 months? I had to change pfsense setting before, so this is an unknown for me.

  • @JC-wc9jn
    @JC-wc9jn 4 года назад +1

    The steps after creating a cloudflare account when adding a name server, im lost

  • @syotos8643
    @syotos8643 5 лет назад +1

    How do you update lets encrypt on unraid? Maybe I missed it but i couldn't find out how to update it after the 3 months

  • @starshipduck
    @starshipduck 5 лет назад +1

    How would you do this through AWS Route53? Do you need to have cloudflare?

  • @gosnooky
    @gosnooky 3 года назад +1

    Easier to use your terminal to edit that ini file.

  • @JasonMattia
    @JasonMattia 4 года назад

    Just one thing I can't figure out. I understand the cert expires every 90 days, and I have seen information about automating it. Is it as easy as restarting the letsencrypt container when I need to update the cert(s)? Or do I need to dive into scripting a certbot renew? Thanks

  • @bobellison2547
    @bobellison2547 5 лет назад

    Does changing my nameservers to cloudflare affect by DDNS setup? Specifically, does this change make me use cloudlfare for managing my domain, or is is business as usual (my current DDNS scripts continue working)? Would like to know be something breaks.

  • @rodrigca22
    @rodrigca22 5 лет назад

    Awesome! got it working, I'm trying to make oAuth2 to work with google but keeps returning named cookie not present, can you make a video showing hot to implement it, this will increase security up a notch. Thanks

  • @cessna917
    @cessna917 5 лет назад +1

    Why only subdomains? If you're also wanting your main site to be certed can u leave this as true?

    • @noose1987
      @noose1987 5 лет назад

      Schwiing no, set it to false.

  • @amanraze
    @amanraze 4 года назад +1

    I get this message at the end of the log for let's encrypt container:
    "nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from openresty.org/en/download.html)"
    Should I do anything about it?

    • @amanraze
      @amanraze 4 года назад +1

      Found a thread on Reddit about it www.reddit.com/r/unRAID/comments/co8y3m/nginx_error/
      Apparently, it's fine to leave it.

  • @timyentsch9297
    @timyentsch9297 3 года назад

    can I delete the port forwarding rule for port 80 that was set up in the reverse proxy set up video?

  • @Halon750
    @Halon750 3 года назад

    Thank you.

  • @tebasak1
    @tebasak1 4 года назад

    I feel like I'm so close, but this seems like an error I can't ignore.
    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from openresty.org/en/download.html)
    nginx: [error] lua_load_resty_core failed to load the resty.core module from github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:

  • @dsulvadarius
    @dsulvadarius 3 года назад

    Nice video.

  • @wabapu
    @wabapu 4 года назад

    what about the changes you made at 5:28? 7:35 shows the letsencrypt log file. "unsafe permissions on credentials configuration file: /config/dns-conf/cloudflare.ini" do we need to undo the permisson changes?

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

      just change it back to what it was before with chmod 755 -R /mnt/user/appdata/swag/dns-conf
      I don't like setting open folders with world write permissions

  • @jeanpeeters3053
    @jeanpeeters3053 4 года назад

    It works =). But how do i setup a sub domain to a specific app, for example ombi, to share with my friends ?

  • @JasonJungHyunSon
    @JasonJungHyunSon 5 лет назад +2

    Also, does this still need port 443?

    • @stiibunyozomita3536
      @stiibunyozomita3536 3 года назад

      Off course it does, otherwise how will you reach your server from outside over HTTPS. You can delete the 80 port forward though as LetsEncrypt will no longer use that

  • @JuniorReveron
    @JuniorReveron 5 лет назад

    Is there any way you could make a new video on Kruzader the old one has been removed and the Binhex one don't seem to find the unassigned devices. Thank you

  • @MichaelOGara
    @MichaelOGara 4 года назад

    I cannot access my subdomains unless I have port 80 forwarded to 180. I thought this should work without that?

  • @because367
    @because367 4 года назад

    Hi
    Thanks for this video. Everything works fine (freshrss, nextcloud, bitwarden...) except lidarr and documentserver for nextcloud. All my subdomains are A type. Ping cannot find the host and nslookup doesn't show cloudflare IP.
    Any idea ?

  • @Uplinkpr0
    @Uplinkpr0 4 года назад

    I finally get it all setup do exactly as you do then when i reset letencrypt i get this error only : nginx: [emerg] "server" directive is not allowed here in /config/nginx/proxy-confs/deluge.subdomain.conf:3
    No matter what config i use its the same issue

  • @KoshyGeorge
    @KoshyGeorge 5 лет назад +1

    What if I'm behind a Crarrier Grade NAT and unable to open any ports?

    • @elidoteixeira
      @elidoteixeira 5 лет назад

      Call your ISP. Usually the will give you a 'normal' IP again if you need to use port forwarding.

    • @KoshyGeorge
      @KoshyGeorge 5 лет назад

      @@elidoteixeira They only give those to business customers, business lines are slower way more expensive and have data caps.

  • @clintAdventures
    @clintAdventures 5 лет назад

    was working perfect. now can not access just times out. have not changed anything.

  • @RashanWalker
    @RashanWalker 5 лет назад +3

    You may want to double-check all of your frames, your email is briefly visible.

    • @evyordanov
      @evyordanov 5 лет назад +1

      Yeah, I noticed that one as well. @spaceinvader it's worth to take a look at the 6:20 minute mark and see if it is a problem for you or not

    • @The_Chupacabra1
      @The_Chupacabra1 5 лет назад +2

      more like @6:17

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

    All my subdomains how return a host error after getting this and cloudflare dyndns setup. I'm lost on how to resolve.

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

      Mine do as well, I do not know how to resolve. Did you ever figure it out?

  • @braveru716
    @braveru716 4 года назад

    Hi, could you pls do a video about IPV6?

  • @CentauriDK
    @CentauriDK 4 года назад

    Is et also possible without moving dns provider to cloudfare?

  • @Szklana147
    @Szklana147 4 года назад

    2:58 - what if my domain already has a certificate?

  • @jason_zhemingzhang
    @jason_zhemingzhang 5 лет назад

    can I also use cloudflare on pfsense to provide ddns service?

  • @JuniorReveron
    @JuniorReveron 5 лет назад

    letsencrypt not working anymore gives this error nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from openresty.org/en/download.html)
    nginx: [error] lua_load_resty_core failed to load the resty.core module from github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
    I don't know much on Linux to fix this.

  • @nghiahuynh1855
    @nghiahuynh1855 4 года назад

    Please help. How do you auto renew LetsEncrypt?

  • @anoniem012
    @anoniem012 3 года назад +1

    6:17 email :O

  • @user-lp1gy6wp8z
    @user-lp1gy6wp8z 5 лет назад

    LOL I've just done it the day before this video was out

  • @DaManOommen
    @DaManOommen 3 года назад

    @SpaceinvaderOne - THANK YOU! I got the openvpn set up following your tutorial for that. So decided to give the reverse proxy a try as well (mostly for education purposes).
    I had to merge the three tutorials (Proxy with HTTP, Proxy with DNS (this one) and Swag) into one to get it done, and I have everything working, my domain is protected on Cloudflare and I have 'Server Ready' on Swag logs but when I try to access the sonarr subdomain I get an error (Error 521: Web Server is down).
    Can anyone help please?

    • @mplmpl7780
      @mplmpl7780 3 года назад

      I get the same any luck?

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

      Getting the same problem, did you ever figure it out?

  • @JasonJungHyunSon
    @JasonJungHyunSon 5 лет назад

    Hello,
    First of all, thank you for making these videos. It has been a lot of help in setting my own UnRaid server.
    I have a question though, I followed everything and it seems like I am getting error.
    My error reads:
    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from openresty.org/en/download.html)
    nginx: [error] lua_load_resty_core failed to load the resty.core module from github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
    What should I do in this error? It seems like I am not being able to connect to my nextcloud services.
    Any help would be awesome.

  • @jcwade
    @jcwade 5 лет назад

    I followed everything but I am getting a cloudflare error 522 when going to my url now. I also have this on my LetsEncrypt log that still says it is ready but with an error before that.
    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from openresty.org/en/download.html)
    nginx: [error] lua_load_resty_core failed to load the resty.core module from github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
    no field package.preload['resty.core']
    no file './resty/core.lua'
    no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
    no file '/usr/local/share/lua/5.1/resty/core.lua'
    no file '/usr/local/share/lua/5.1/resty/core/init.lua'
    no file '/usr/share/lua/5.1/resty/core.lua'
    no file '/usr/share/lua/5.1/resty/core/init.lua'
    no file '/usr/share/lua/common/resty/core.lua'
    no file '/usr/share/lua/common/resty/core/init.lua'
    no file './resty/core.so'
    no file '/usr/local/lib/lua/5.1/resty/core.so'
    no file '/usr/lib/lua/5.1/resty/core.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file './resty.so'
    no file '/usr/local/lib/lua/5.1/resty.so'
    no file '/usr/lib/lua/5.1/resty.so'
    no file '/usr/local/lib/lua/5.1/loadall.so')
    Server ready

    • @jcwade
      @jcwade 5 лет назад +1

      Rasmus Gade
      4 months ago has the solution, have to turn off HTTP proxy on Cloudflare like he does in the video but doesnt say it verbally. Arrow should go around the orange cloud on your cname you create!!! Thanks Spaceinvaderone, you are amazing.

    • @jnorton05
      @jnorton05 3 месяца назад

      @@jcwade Your comment needs to be pinned to the top and you need a medal. Following this video solved a lot of problems except the 522 error and you pointing that out got me to 100%. Thank you!!!!!

  • @JC-wc9jn
    @JC-wc9jn 4 года назад

    got it

  • @Dr.AnonymousPro
    @Dr.AnonymousPro 5 лет назад +1

    You may want to recreate your CF api key, because spaceinvadermedia@gmail was visible..

  • @thomasschmidt1273
    @thomasschmidt1273 5 лет назад

    Unraid vs Proxmox VE

  • @paradoxbound
    @paradoxbound 4 года назад

    777 is never the right answer!