How to Setup and Configure a Reverse Proxy on unRAID with LetsEncrypt & NGINX

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

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

  • @SpaceinvaderOne
    @SpaceinvaderOne  3 года назад +64

    letsencrypt container since this video was made has had a name change. It is now called Swag

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

      thanks for the update! quick question, after updating home assistant docker to use proxynet chrome cast device no longer can be auto discovered by the docker and even I manually configure the ip it doesn't seem to allow streaming anymore, any thoughts? I searched a bit it says something about requiring mdns, but I have a feeling that even if the proxynet is enabled for it, essentially the cast device and the docker are no longer on the same network so it can't work, is that right?

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

      In my mind i remember seen a video of Nginx Proxy Manager on your channel but i can't found her, did you delete her?

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

      So we can use this guide to configure SWAG from scratch?

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

      Thanks! with your video help i managed to get it working with Swag.

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

      Wanted to post some issues I had (and there solutions)
      Once I first got everything setup I had the HTTP error 504. If I went to the nginx error log on swag (EG letsencrypt) I found the error "connect() failed (111: Connection refused) while connecting to upstream"
      To fix this I went to the UNRaid advanced docker settings and changed "Host access to custom networks" to ENABLED
      The second error I had (that you would need to let nextcloud run for about 5 minutes first) was that the nextcloud log said it could not connect to the database.
      I had to move mariadb to the proxynet network, then change the "\appdata
      extcloud\www
      extcloud\config\config.php" file on line 20 to the new DB server address, shown on the docker page on UNRaid.
      Hope this helps! It took me way too many hours to fix this.

  • @TimothyGaetke
    @TimothyGaetke 4 года назад +114

    Table of Contents
    0:08 - What is a reverse proxy?
    1:34 - How does it work?
    6:09 - Planning our proxy
    10:00 - Port forwarding
    11:36 - Setting up a user defined docker network
    12:48 - Installing the letsencrypt docker container - DuckDNS
    15:47 - Installing the letsencrypt docker container - Custom domain
    16:53 - Attaching docker containers
    18:05 - Configuring the reverse proxy
    22:14 - Configure nextcloud to work with a proxy
    25:06 - Reverse proxy with subfolders
    27:06 - Troubleshooting

  • @stephenwhite5444
    @stephenwhite5444 3 года назад +4

    For newbies, LetsEncrypt is now named SWAG but it's all the same and I used only this tutorial to set it all up, went perfect in SWAG. (Same app, they just changed the name)
    Thanks for all you do!!! Your videos have been EXTREMELY helpful! Greatly Appreciated

  • @cammelspit
    @cammelspit 6 лет назад +89

    Gentleman and a scholar, man among men... You, sir, are a hero. THANKS!

    • @SpaceinvaderOne
      @SpaceinvaderOne  6 лет назад +3

      Wow thanks Kevin, glad you liked it :) and thankyou for watching :)

    • @cammelspit
      @cammelspit 6 лет назад +3

      I'm currently in process of doing this now and I came across a thing you might want to mention at some point, maybe add it to the description? Using a CName record is only used as an alias for an already existing FQDN. If you are using a DNS provider that has support for a DDNS tracker natively, you would instead have to add new A records and keep them up to date with the tracker bot. Currently, I am using Cloudflare and my pfSense keeps my IP updated directly from Cloudflare without the need for duckDNS when using your own domain. I have this set up for connecting to my VPN since the IP likes to change every time I have to reboot my modem. Ill let you know how the rest goes when my new domain names DNS updates. :D

    • @pervin11111
      @pervin11111 6 лет назад

      Hey SpaceInvader, do you have any idea how setup the Next cloud to work with Collabora container? Everything works, but Next cloud unable to connect to Collabora unfortunately. Here is the link as a reference lime-technology.com/forums/topic/57240-request-collabora-online/?tab=comments#comment-560603&searchlight=1

  • @MikaelThuvall
    @MikaelThuvall 4 года назад +8

    I had to pause and comment. You are not only doing a tutorial/how to/do this but also teaching. It's really nice to get an understanding on what it is. It makes it easier to understand what Im doing and also why. Thank you Spaceinvader One!

  • @TheRealPrunebutt
    @TheRealPrunebutt 2 года назад +6

    I can't believe how hard it was to find this comprehensive tutorial. The topic is incredibly complicated for a beginner and it took me ages to find this video. Thank you for explaining the topic so thoroughly! :)

  • @_ColdAssHonkey_
    @_ColdAssHonkey_ 3 года назад +5

    Your videos keep dragging me down the rabbit hole, deeper and deeper....Please keep it up!!

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

    Mate, you are a star. Explained in simple terms and handholding all the way. As soon as I'm sober enough to follow those steps I'll be all over it

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

    Thanks for all your videos - you do great work! One note for anyone setting sonarr subfolder - there are now two places where you need to set the new container name.

  • @NotAverageAfro
    @NotAverageAfro 6 лет назад +2

    Bruh, you're a life saver. I'd have spent so much time trying to figure out how to do all this unRAID stuff on my own. Not only are these videos both easy to follow but you provide the information I need to go and do more reading on my own. Coming into this project blind was a real challange and everything I've wanted to set up has been a rabit hole of terminology and abbreviations and figuring out industry standards! It's been a lot of fun and for the moment this and your nextcloud video are the pieces of the puzzle I needed.
    Thank you again.

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

    you are the only and MAIN reason why i use UNRAID! They should pay you with gold! Thank you for all the amazing videos

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

    Phew, that took me some time to get going. Had to translate a few steps as I have a static IP address at home so not using duckDNS. Anyone else in the same boat, I'm sure you already know, but you just use a A Record instead of a CNAME when configuring DNS on your domain providers config page.

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

      Thanks for that... been at this for some time and I'm in the same boat... but still getting an error...Invalid host in redirect target "XX.X00.XX.XX". Only domain names are supported, not IP addresses.
      Ill get there.

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

    I don't work in the industry nor have extensive network knowledge. Without your video, i'd probably just give up on encrypt all together.

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

    Looks like I'll need to dive back in at a later time. I am setting up nextcloud and it was working perfectly locally but as soon as I changed the setting for remote access it fell apart. I am getting a 502 Bad Gateway Error but everything looks good from what I can tell. SSL cert has the right info and it shows secure but no dice. I am using the duckdns option. The nextcloud config seems to be in a different order now than at the time of the video but the info is mostly the same. Running PFSense. Thanks for the great videos! I am having a lot of fun and learning a lot!
    Edit: Woke up this morning sat down to look at it the config files again. Then all of the sudden "proxynet!' went through my head. I missed changing nextcloud to that network type. Working great now. Thanks again!

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

      You saved me hours of troubleshooting! Thanks!

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

      for me it's the exact opposite. if using br0 ist working (only localy), but as soon as i switch to proxynet nothing works.
      nextcloud isn't acassable at all. unraid dosnt have a ui button anymore and enetring it manualy gives an bad gateaway. The log of nextcloud gives me "AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message" with no ports mapped at all!. it's just empty.
      past two days i've browsed hundrets of threads and it's driving me crazy.

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

      @@Tsumitsukiii what do your nginx logs look like? You may need to restart letsencrypt. I have a fairly basic knowledge of setting all this up but have had weird issues and errors if it needs restarting. Or if there are any missing subdomains in my letsencrypt container. For instance jitsi not running while I am trying to start nginx will keep all my other proxynet containers from working.
      With UI button missing I have had that happen when the container didn't update correctly and had to reinstall. You can keep your config file but may need to repush the container pull again. Hope some of this helps

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

      @@BrondRando nginx (letsencrypt) works normaly and is ready except "nginx: [alert] detected a LuaJIT version which is not OpenResty's"
      have restarted evereythin countless times.Even the whole machine. The Minecraft players weher not happy about that!^^
      i can access the ui while the dontainer is in the br0 network. and the ui button is there two. its only while on proxynet. Same with plex. i don't need it in the proxy for webaccess since the app can do it without this but it would be nice to have a dedicated url for plex.
      both plex and nextcloud dose not even start on proxynet.
      thanks for your help, anyway!
      i'll dig into this more tomorrow.

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

    got everything working with Swag following this tutorial. Thank you!

  • @JeremyLynnes
    @JeremyLynnes 6 лет назад +2

    Your videos are ridiculously well done, informative and useful. I can't thank you enough. Looks like you're going to be my first Patreon donation subscription.

  • @compneo
    @compneo 6 лет назад +1

    Love your videos! You are the main reason I am hooked on Unraid. Also why I am able to do so much with it. I always get excited when I get that notification that you uploaded a new video. Thanks for all of your time making these videos!

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

    This is hands down the best unraid/nexcloud video i've ever seen. You sir are the goat

  • @aage2132
    @aage2132 4 года назад +30

    at the end of this video you talked about installing Heimdall. is there still plans on making a tutorial about this docker? Love your videos, best ones out there for unraid. thanks for all your work

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

      Me2 :)

    • @greggorrell
      @greggorrell 4 года назад +3

      You literally click install and pick an unused HTTP port and an unused HTTPS port. If you need a video to show how to click the mouse three times to Heimdall you shouldn't be using a computer, let alone commenting on a letsencrypt video.

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

    God you have the BEST videos, I love how well you explain everything you are doing! I've used your video's so much now over the years, always find myself coming back to them for something.

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

    As usual, pure class. Explanation, direction, information. Always top class. Thanks for the information. Beautifully served. As usual.

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

      I know it's not your thing but if you have have any tutorials on using it in straight docker, please share. I've actually moved from unraid to using proxmox with docker and portainer. I would have liked to use proxmox/docker/rancher but it kept giving me issues with setting up rancher,. Most likely mistakes on my part.

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

    well.. me, le unraid noob, walked through all this steps and hoping, that the letsencrypt config also works on swag. and IT DOES. Amazing!

  • @ieuan56
    @ieuan56 6 лет назад +4

    This video was superb, I'm really looking forward to the Heimdall video (and the next in your pfSense series)!

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

      Was the Heimdall video ever released?

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

      MP not yet. I went with organizr v2

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

    This continues to be the best video ever. Thank you so much.

  • @johnsymons665
    @johnsymons665 5 лет назад +6

    In the Security and Warnings page in nextcloud I was getting the warning "The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud" running 16.0.4. I found the fix. You also have to add the line 'trusted_proxies' => 'letsencrypt', in the config.php file. I put it under the overwriteprotocol line. Thanks Spaceinvader One could not cope without you.

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

      thanks for p[pointing that out John. :)

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

      Thank you for this information. It was helpful

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

      This helped me so much thank you

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

      Thank you thank you thank you for this. It was the last issue I had!

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

    The best tutorial I have every watched. Simple and easy to follow. Thank you @spaceinvaderone you're the best.

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

      Wow thankyou Garrett. Glad that you liked it and thanks for watching :)

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

    Thanks for the tutorial. Whoever is doing this after 1st Jan 2019 and can't get sonarr and radarr working, you should know this.
    When editing the confs in the appdata folders, for both radarr and sonarr you need to replace them twice!! Otherwise, it will just hang when you try to access them

  • @cameronphillips789
    @cameronphillips789 6 лет назад +1

    I’ve been struggling with this for months. I can wait to try again when I get home from work!
    Plus, next week’s video is gonna be AMAZING!! I’ve always wanted to setup something like that!

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

      Then Organizr will blow your mind. Use the v2 version though github.com/causefx/Organizr

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

    Best explanation of a reverse proxy I have watched thank you.

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

    Spaceinvader One you are my hero.
    Using your videos I have set up all of my unraid server including LetsEncrypt.
    One note thought when editing my *.conf files I needed to change the container name in 2 places as there is set $upstream, one for location and another for the api.
    Keep up the good work.

  • @IAmatVictoriaCuramI
    @IAmatVictoriaCuramI 3 года назад +8

    Now Swag - This gives you a breakdown what everything in the settings are for: docs.linuxserver.io/images/docker-letsencrypt. I basically did the Domain Name: subdomain.duckdns.org, Subdomain(s): wildcard, Validation: duckdns, DuckDNS Token: the token you get from DuckDNS when you generate it. I was bashing my head against a brick wall until I found that document. Hope that helps anyone else who is stuck out there!

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

    As always absolutely brilliant. Followed instructions to the letter and worked perfectly. Just one thing to note for people trying to setup Plex and Emby. Leave the docker configuration where it is for those and edit the NGINX proxy files referencing the actual IP address and Port of the Plex and Emby services. Instructions at the top of the file :)

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

      Hi Gary, I am trying to setup Emby, which NGINX proxy files do I have to change and where are the instructions?

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

    Yes. "letsencrypt" IS now "swag" and followed this video along with no problems still. Minor differences but no problems getting port forwarding to docker containers. BUT I have yet to get forwarding to my ubuntu server VM running and nginx webserver for webmail apps working properly. Something with the rewrites just not working correctly... Thanks Spaceinvader One!

  • @Tom-jo8fu
    @Tom-jo8fu 4 года назад

    Your latest words solved my connection issues. (Use a VPN to test the connection). You make my day, Thx.

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

    Thanks, please never delete this video.
    I will attempt to do this some time soon

  • @OzSpeedway
    @OzSpeedway 6 лет назад

    Awesome video once again. Will be setting this up in the next couple of days, just got to sort out not using a subdomain but a direct domain. Homework for me :) Keep it coming, love your instructional videos!

  • @alexsaphir7219
    @alexsaphir7219 6 лет назад +4

    If you use pfSense behind your ISP router be sure to disable "Block private networks and loopback addresses".

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

    Such an amazing tutorial, channel and author !!! Thanks to you, I'm able to squeeze my unRaid setup.

  • @Movies4118
    @Movies4118 6 лет назад

    Thank you. Awesome video. I couldn't get Caddy working in Unraid docker as a reverse proxy. Regardless, I prefer Nginx, as its more mature and configuration options are well documented. So this episode of your video was just in time.

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

    Dont often leave comments, but this video was superb! Keep up the good work! :) Regards new Unraid user :)

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

    Very relevant, well explained. Just what I was looking for. Merry Christmas from Sweden.

  • @kevinhaas5261
    @kevinhaas5261 6 лет назад +3

    What a well put together video. Thank you so much!

    • @SpaceinvaderOne
      @SpaceinvaderOne  6 лет назад

      Thanks, Kevin, glad you liked it. Thanks for watching :)

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

    Thank you very much! You finally answered all my questions after hours of tutorial and forum reading!

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

    Got this working great! Thanks SI! I must say...Nextcloud is pretty darn cool!

  • @CameronStark13
    @CameronStark13 6 лет назад +1

    Rather than making multiple subdomains in DuckDNS, you can use your own DuckDNS subdomain under the "Domain" (e.g. yoursubdomain.duckdns.org) instead of just duckdns.org then list all the subdomains you have (e.g. "nextcloud,organizr").
    Thanks again for the great video Ed!

    • @SpaceinvaderOne
      @SpaceinvaderOne  6 лет назад +1

      Hi Cameron. Wow, i didn't know you could do that. Great tip. Thanks :)

  • @AnythingReally
    @AnythingReally 6 лет назад +6

    So for everybody that also noticed that you can't reach your services when don't type infront of your subdomains I have this solution:
    You go to appdata>letsencrypt>nginx>site-configs ... you open the default file with the texteditor (the same you used for all the other .conf files).
    Copy this part from the "Default" config (not from this comment):
    #server {
    # listen 80;
    # server_name _;
    # return 301 $host$request_uri;
    #}
    then go to your individual docker .config (like spacinvader does in 24:20 )
    In paste the line on top of or to be more precise in front of:
    server {
    listen 443 ssl;
    and delete the "# " from the section you copied
    --------------------------------------------------------------------------------
    It should look something like this:
    # make sure that your dns has a cname set for nextcloud
    # edit your nextcloud container's /config/www/nextcloud/config/config.php file and change the server address info as described
    # at the end of the following article: blog.linuxserver.io/2017/05/10/installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy/
    server {
    listen 80;
    server_name _;
    return 301 $host$request_uri;
    }
    server {
    listen 443 ssl;
    server_name nextcloud.*;
    include /config/nginx/ssl.conf;
    client_max_body_size 0;
    location / {
    include /config/nginx/proxy.conf;
    resolver 127.0.0.11 valid=30s;
    set $upstream_nextcloud nextcloud;
    proxy_max_temp_file_size 2048m;
    proxy_pass $upstream_nextcloud:443;
    }
    }
    ---------------------------------------------------------------------------------
    (This will return 301 to the browser and tell it to use https)
    I hope this helped you guys. If not maybe SpaceInv. 1 will pick this up in his next video. If not and you still have trouble I can make a short clip that will explain this part.
    I also want to thank Spaceinvader One. I couldn't have set this up without your videos.
    Cheers

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

      Thank you sooo much. never would have figured this out. Couldn't figure out why sonarr and tatulli wouldn't load but everything else would.

  • @MihaiPetrescuSydney
    @MihaiPetrescuSydney 6 лет назад

    I was just trying to do this last week, I failed, I will give this a go ASAP. Thank you.

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

    Wow! This is a fantastic explanation of a reverse proxy and how to set it up. Great teaching, thanks

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

    If you get this warring: "The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For more security, we recommend that you enable HSTS as explained in the safety instructions."
    go to => appdata
    extcloud
    ginx\site-confs
    than open "default" and add this line over the first "add_header" line:
    add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";

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

    this is a wonderful video. thank you for doing this- got me going in the right direction.
    I was able to setup SWAG(Previously LetsEncrypt on linuxserver.io) within portainer using duckdns as the ddns. There were some different settings from my router's firewall and portainer's gui looks a little different than unRAID but same concept.

  • @LordJaffarr
    @LordJaffarr 6 лет назад +11

    Hi, I just thought I would note that i had an issue with 2 of my dockers (being binhex-emby and qbittorrent) that were getting 502 bad gateway errors.
    I narrowed it down to the docker names NOT being resolved into the correct IP addresses, even when all dockers were on the custom proxynet network.
    The solution was to simply not use the names of the dockers, and to type in the IP addresses directly into the _____.subdomain.conf files.

    • @this-is-my-youtube-handle
      @this-is-my-youtube-handle 3 года назад

      THANK YOU!
      Have spent days trying to get this working, scoured forums, ran clean installs multiple times yet could not fix the 502 Bad Gateway Error until I read your comment.

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

      Thanks heaps for this! I was getting the same issue as well - but your tip has got it all working!

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

      OMG! You ARE the lifesaver I cannot thank you enough this comment is godlike!

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

    Once again!! Thank you good sir! Your videos have been a lifesaver! Just finished this tutorial!!! This stuff is awesome!

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

    I can't believe I found exactly what I was looking for. Great video!

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

    wow, thank you very much! absolute great video! i needed to watch the krusader, sonarr and nextcloud tutorial while working through this one and everything worked out perfectly.tomorrow i am going to buy a good linux compendium to start learning. working for years with windows is melting my brains trying to understand this new os world. make me a bit angry not to understand most of this atm ;-)

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

    I solved a problem that I was not able to find through rigorous searching. I hope you find this helpful.
    Problem: nginx works externally but not internally.
    Configuration: Running nginx on unraid behind opnsense firewall. Opnsense is behind AT&T router and assigned a private IP on its WAN interface. (double NAT)
    Resolved by disabling "Block private networks" on WAN interface.

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

    Perfect, clear and to the point!!! Subscribed!

  • @tims
    @tims 6 лет назад +1

    Worked perfectly! Thank you so much, sir.

  • @LordShaaver
    @LordShaaver 6 лет назад

    Really great and informantive video! I ran into some problems with configuring the ports. I couldn't use the ones you where using (1443 and 180). After a few hours of troubleshooting my router, I figured it out that the ports where blocked by my ISPn. It works perfectly when I chose ports 81 and 446. So yeah, I thought I would tell you if someone else also encountered the same problem.

    • @LordShaaver
      @LordShaaver 6 лет назад

      I solved the issue by choosing different ports. In the video he routes the port 443 to 1443 and port 80 to 180. Ports 1443 and 180 didn't work for me, so I tried port 443 to 446 and port 80 to 81 instead and that worked.
      I hope this solves the issue for you!

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

      Was just simply restarting Letsencrypt container enough for those new port settings to work out? I'm having a similar issue and no success with anything yet.

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

      Yes. As soon I didn't use ports that where blocked by my ISP and the ports where open in my router, a restart of the Letsenctrypt container was the only thing left that I had to do to for it to work.

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

    Hey Ed, i'm having issues with my certificates expiring, could you please make a video show us how to fix that issue.

  • @DarksurfX
    @DarksurfX 6 лет назад

    Thank you! I've been messing with this off and on and could never quite get it right. Libra background music too, nice!

  • @joshuab8491
    @joshuab8491 6 лет назад +5

    Maybe an organizr page would be helpful as well. I like that to put all these docker sites into a single page.

    • @noose1987
      @noose1987 6 лет назад +2

      Joshua B organizr over heimdall 100%

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

    This never worked for me but it taught me a lot. I ended up ditching letsencrypt and using nginx proxy manager. However I still had to edit the config file. No matter what I did it didn't work. What I ended up having to do is - inside Nextcloud I had to download OCC Web app and adding a trusted domain there because the container console wouldn't work. I'm in!

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

    this is the best vid out there..

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

    Thanks. Tried a year to figure out how to setup my file server the best way. I did it just in a couple of hours with your vids. Dropbox is too expensive when its alot of data. Only one thing i didnt manage and that is indexing. Its just another level. For now i use windows indexing in the shared folders, but would be nice to find the files i need from the nextcloud app on my phone.

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

    Id love a traefik variant of this video :)

  • @stevennguyen9007
    @stevennguyen9007 5 лет назад +62

    Please make another reverse proxy guide using NgixProxyManager

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

      yes please

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

      Yes, that would be great!

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

      did you ever figure it out with nextcloud? I got it working with radarr and sonarr instantly. Can't figure out nextcloud

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

      @@MattFL850 I have it on nextcloud, you need to configure in the nextcloud folder the domains 22:39 of the video and set up https scheme on NginxProxyManager on the ssl page force ssl and HSTS enabled to more security

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

      @@MattFL850 You need to change the settings of nextcloud to allow the dns. Just watch the video again and follow each step one at a time. You might have forget something

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

    Thanks you. Very useful all your videos.

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

    Sorry to comment on this old video but I was trying to setup a reverse proxy using swag and duckdns. Everything seems to be setup correctly but I'm getting 502 Bad Gateway from nginx. Any ideas?

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

    Great tutorial as usual. Consider using nginxpm container instead... it simplifies everything and provides an outstanding GUI for setting up and managing everything.

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

      that men you don't have to use letsencrypt and you can use only NginxProxyManager ?

  • @AviDarks
    @AviDarks 6 лет назад

    One of your best guides - thank you very much.

    • @SpaceinvaderOne
      @SpaceinvaderOne  6 лет назад

      Glad you liked it Avi. And thanks for watching :)

    • @AviDarks
      @AviDarks 6 лет назад

      If you can, please provide Docor backup and libraries.

  • @homeskillit5649
    @homeskillit5649 6 лет назад

    Working great! Jonesing for the next part!

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

    Everything work perfectly:) You are making very gooooood job:)

  • @Topdoozie
    @Topdoozie 6 лет назад

    Can’t wait to try this after work. Thanks!

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

    I wish so much these existed in text format

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

    brilliant video Ed, well done

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

    Ed, thank you for the great content!

  • @succuvamp_anna
    @succuvamp_anna 5 лет назад +5

    Not a way for me to do this, my ISP blocks incoming ports 80 and 443 😢

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

    Fantastic work Mr Spaceinvader! Did you ever cover bringing this all together with Heimdall?

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

      I wish he had. I just went though the docker pages page by page looking for it since he didn't have it spelled out or anything.

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

      Check out Organizr v1 or v2. Great dashboard.

  • @Bigsease30
    @Bigsease30 5 лет назад +5

    Hello. I have followed this guide 5 times now and reach the same end result every time. When I connect to my sub-domain at duckdns, I receive the following page "Welcome to our server - The website is currently being setup under this address."
    LetsEcrypt and Nextcloud are both on Proxynet network, ports 80 => 180, 443 => 1443 have been forwarded correctly on the router and all edits to the config files have been made exactly as shown in the video. Any idea why the proxy is not forwarding correctly to the container? Also, Nextcloud is configured on port 444.

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

      I had the same problem for like 8 hours, fixed mine modifying the file show in the minute 24:22, I changed: server_name nextcloud.*; for the word that equals my sub domain in duckdns, for example if my domain is: bigsease.duckdns.org, you should edit the file to: server_name bigsease.*;

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

      @@ninnetyer when you modified this file and changed the filename like he did , did it change to a conf file or did it remain a sample file ending in a .conf name? Thanks

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

      @@whopua yea obviously, you need it as a conf file (.conf) otherwise it wont get picked up.

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

    Finally Mins later cos out with the soft

  • @intertan
    @intertan 6 лет назад +10

    how about a ombi setup video. Allow yourself to request media from outside your network

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

      Yes please! I’ve been looking for an Ombi guide video.

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

      follow the same steps accept change the name(s) to ombi, and after that I got hung up because I didn't remove the sample from the .conf file name in letsencrypt

  • @gilflix
    @gilflix 6 лет назад

    thank you so much, now i understand what ive been doing wrong since months

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

    Just an FYI... In version 20 of nextcloud.. In the config.php file trusted_domains should be changed to trusted_proxies

  • @Lam-s-Workshop
    @Lam-s-Workshop 4 года назад

    once again, an amazing tutorial

  • @Sniperkag
    @Sniperkag 6 лет назад +5

    man! you are my influencer lol! k, i have a few configs to your on

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

    Stuck for months!! Realized that my router never did REAL port forwarding. It was just opening ports from a range - 'Start' to 'End'. Rather than forwarding WAN -> LAN ports.
    Changed the default port unRAID booted on. Opened 80 and 443 for the server and worked like a charm!

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

      I changed the unraid ports so lets encrypt could use 80 and 443, because my router is the same. I'm failing the challenges in the log part of this video though. Any ideas?

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

      @@MattFL850 What do the errors in your log files look like?

  • @callumevans77
    @callumevans77 6 лет назад

    Thank you so much for this, it's working perfectly for me!

    • @SpaceinvaderOne
      @SpaceinvaderOne  6 лет назад +1

      That great Callum glad it's all working. Thanks for watching :)

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

    thank you for being a legendary person

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

    Hey there! Wondering if you might be able to put together a video showing us how to migrate from LetsEncrypt to the SWAG docker image?

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

      just edit the Letsencrypt container: replace `linuxserver/letsencrypt` with `linuxserver/swag` then save!

  • @DalePothen
    @DalePothen 6 лет назад

    Yeah its was aswm loved it well explained mate 🤩

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

    For those that are getting the error "Welcome to our Server. The website is ...." I figured out the fix (version 18.0.4).
    Leave the line ** 'overwrite.cli.url' => "IPADDRESS:PORTNUMBER', ** alone. After I changed it back to the original setting from my subdomain it started working again, even remotely. I don't know if this is due to a change between versions, but I spent about an hour or more trying to get it to work by changing different things and following other suggestions. Finally, I thought about changing it back to the IP address and it worked. You can still type your subdomain in your browser to access. Even if you type your IP address, it will automatically change it to your subdomain.

  • @radialblur
    @radialblur 6 лет назад

    Another great vid, although I reverse VPN in to my network to keep ports closed, none the less a great informative vid, thank you :)

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

    Would love to see a Organizr or Heimdal tutorial to tie into this!!!

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

      Yes, definitely soon, Austin. Thanks for watching :)

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

      Spaceinvader One
      Would really like the Organizr vid as well.

    • @iRocks-Mak3rde
      @iRocks-Mak3rde 4 года назад +1

      @@SpaceinvaderOne hey mate i'm looking for the heimdal episode and i'm not able to find it, am i missing it or is it just not online?

  • @Robert_s8
    @Robert_s8 6 лет назад

    love your videos!!!! They are extremely helpful.

    • @SpaceinvaderOne
      @SpaceinvaderOne  6 лет назад

      Glad that you like them Robert. And thanks for watching :)

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

    Also I want to point out that, if your router is not supporting NAT reverse/loopback, you need to remove 'overwritehost' at 23:32 if you want to run nextcloud in the same network.

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

      I just removed 'overwritehost' and now I can click on nextcloud webui in the docker tab and get to my nextcloud but it still shows my unraid IP in the address bar. And if I enter my suddomain into the url it goes directly to my router again.

  • @Topdoozie
    @Topdoozie 6 лет назад

    Got it working!! Thanks Ed!

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

    Great Video - I got LetsEncrypt running in no time. You have got to be the best Unraid You-tuber there is.
    Question, Is it possible to use LetsEncrypt to forward traffic to other servers not hosted Unraid?

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

      Hi Jamie. Yes that is possible you can forward to other things on the same subnet. For example replace the line "proxy_pass $upstream_nameofdocker:portnumber;" with "proxy_pass HOSTIP:portnumber;" HOSTIP being the IP address of the other server and portnumber the port the service is running on. Hope that helps :)

  • @adamfritzsche
    @adamfritzsche 6 лет назад +2

    As always, great video. I have a question for you on this. Do you think that this the better way to go than to setup reverse proxy from within pfSense, which I am assuming can be done? Just curious, since with a combo pfSense, unRaid, Dockers & VMs, there are a slew of ways to achieve the same goal and I like to keep myself organized. In my mind, pfSense is used for routing my traffic, so it would make sense that reverse proxies should also be controlled by pfSense, if that is an option. On the other hand, I'm sure doing it this way is much easier than configuring it in pfSense.

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

    Followed this guide and everything is working well. But after consoling into the containers that are on the proxynet network I am still able to ping across to hostnames on my physical local LAN. Is there a way to make these exposed containers more isolated from my internal network?

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

    This was another STELLAR video. Thanks.

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

      Also check your port forwarding on other machines. I had the same ports set up for an old Qnap I had. Once I removed them everything worked. At first I thought my ISP was blocking 80.