Simon.B Posted May 7, 2023 Share Posted May 7, 2023 (edited) Hi All I don't really think this is a UNRAID problem, but it is running on my fairly new unraid server, so I'm trying this forum for help I've tried follow mr. RaidOwls video on how to set this up But I'm not quite there, and not sure what is going on. I think the problem is in my Nginx, but now sure. I'm trying to expose my NextCloud container to the internet through this url: ncloud.rkhelmet.dk Cloudflare Settings my public IP is 93.160.28.168 TLS SSL/TLS encryption mode is Full I've tried setting it to Full (Strict) Always Use HTTPS = true I also did the API Token thing he mentions.. Router Settings forwarded port 80 and 443 to my Nginx proxy container IP 192.168.0.42 I had a little problem here, I had to set a static IP on the Nginx container, because Docker gave it 192.168.0.2, witch is out of allowed range of my router, so the router gave me an error when trying to forward to 192.168.0.2, so I set the IP to 192.168.0.42 Nginx docker settings: Here i notice that RaidOwl mention something about "exposed Ports" but i don't really see anything here about exposed ports. here is what i see in the docker view Nginx Settings I can access and use Nginx locally on 192.168.0.42:81 I have one Proxy Host ncloud.rkhelmet.dk that point to my nextCloud container 192.168.0.110:8666 NextCloud Docker Settings NextCloud settings: not really any settings to show, but it is running and I can use it locally on 192.168.0.110:8666 What happens ? When i go to ncloud.rkhelmet.dk i get this error page I feel like i get different errors, sometimes I also see a less "pretty" error page saying DNS_PROBE_FINISHED_NXDOMAIN ---- Edit Start ---- tried running this command in a unraid terminal docker ps I notice that Ports is blank for the nginx ?? also notice that nextCloid is using port 80 hmmm ---- Edit End ---- Can anyone help me figure out what I need to do to fix this ? Thanks Edited May 7, 2023 by Simon.B removed extra screenshots Quote Link to comment
XiLENE1337 Posted May 7, 2023 Share Posted May 7, 2023 Hi! I can't really help you with the reverse proxy etc. But try to disable cloudflare proxy temporarily. I also had the problem that cloudflare would not work and throw the exact same Host Error from your screenshot. Once proxy was disabled it worked. I strongly recommend you to use CloudflareD docker from the Apps in Unraid, then you don't need a reverse proxy. I did this for over 6 different services. You setup the ZeroTrust Tunnel in Cloudflare, add the domain (nextcloud.whatever.com) and map it to your local unraid IP with the nextcloud port. Its probably the most convienent way which requires almost zero configuration. Btw: do yourself a favor and remove the domain name + IP from the post for security reasons!! Quote Link to comment
okkies Posted February 7 Share Posted February 7 On 5/7/2023 at 11:53 AM, XiLENE1337 said: Hi! I can't really help you with the reverse proxy etc. But try to disable cloudflare proxy temporarily. I also had the problem that cloudflare would not work and throw the exact same Host Error from your screenshot. Once proxy was disabled it worked. I strongly recommend you to use CloudflareD docker from the Apps in Unraid, then you don't need a reverse proxy. I did this for over 6 different services. You setup the ZeroTrust Tunnel in Cloudflare, add the domain (nextcloud.whatever.com) and map it to your local unraid IP with the nextcloud port. Its probably the most convienent way which requires almost zero configuration. Btw: do yourself a favor and remove the domain name + IP from the post for security reasons!! sure to the dockers and all its easy and fine, but how do you forward that same cloudflared tunnel to unraid itself ? i had it working in the cloudflared app via home assistant. but now im trying to fully move to unraid. Everything works, except a tunnel to unraid itself, not even the server addon generated url's work Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.