TrueNAS CORE -> Nextcloud -> Cloudflare Tunnel Troubleshooting

wgb920

Dabbler
Joined
Mar 18, 2023
Messages
10
Thanks again. I changed from HTTP to HTTPS and added my subdomain.domain.com in the spaces under TLS for Origin Name Server and under HTTPS Settings for HTTP Host Header.

I am no longer getting the ERR_TOO_MANY_REDIRECTS error, but I am getting a 502 error that says the browser is working, cloudflare is working, but there is a Host error.

I did also add my internal IP for filecloud and my subdomain.domain.com to Trusted Domains in config.php for Nextcloud in the Jail.

Any idea what I still may need to change to get this to work?
 

wgb920

Dabbler
Joined
Mar 18, 2023
Messages
10

victort

Guru
Joined
Dec 31, 2021
Messages
973

wgb920

Dabbler
Joined
Mar 18, 2023
Messages
10
I really appreciate your help. In order to limit the back-and-forth, here are screenshots of my truenas jail and my cloudflare tunnel settings.


1679313951788.png
1679313959973.png
1679313970172.png
1679313973988.png
1679313998862.png
1679314114773.png


Here is the screen when I navigate to my subdomain.domain.com.
1679314162385.png
 

wgb920

Dabbler
Joined
Mar 18, 2023
Messages
10
That worked! Thank you!
 

mstrass

Cadet
Joined
Dec 11, 2023
Messages
1
I have the same problem but the "Bad gateway 502" persists with NoTLSVerify turned on.

NextCloud over plugin installed and subnet IP and url in trusted domain. Settings are exactly the same as above.
Certificate is only the self singned from trueNAS on the server.

Any Idea's why?
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
I have the same problem but the "Bad gateway 502" persists with NoTLSVerify turned on.

NextCloud over plugin installed and subnet IP and url in trusted domain. Settings are exactly the same as above.
Certificate is only the self singned from trueNAS on the server.

Any Idea's why?
I suggest deleting the plug-in and installing from the script linked to in my signature.

Plugins are deprecated.

Then we can continue.
 
Top