Cloudflare Zero Trust Tunnel (reverse proxy)
Posted: 28 Mar 2023, 20:35
I originally spun up my DynFi Manager behind an nginx reverse proxy to make it simple to use acme.sh. I've recently decided to go all in on Cloudflare Zero Trust and DynFi has been the only service I've had a hard time setting up with a tunnel.
My manager is dynfi-23.0.3-all.jar on Ubuntu 20.04.6 LTS.
I've configured the CF tunnel to resolve https://localhost:9090 to https://dynfi.myhostname.tld. It loads the login page, but many of the elements on the login page are directed to https://127.0.0.1:9090
I also see this error when the page loads:
and this error when attempting to login:
The CF tunnels have an "HTTP Host Header" setting that I've tried set to "dynfi.myhostname.tld" in combination with "corsAllowOrigin=*", "corsAllowOrigin=", and "corsAllowOrigin=dynfi.myhostname.tld".
I've lost track a bit about which I've tried and not but I'm pretty darn sure I've tried all permutations.
I'd very much like to have DynFi Manager behind the security Cloudflare Zero Trust provides. Thoughts?
Thanks.Peet
My manager is dynfi-23.0.3-all.jar on Ubuntu 20.04.6 LTS.
I've configured the CF tunnel to resolve https://localhost:9090 to https://dynfi.myhostname.tld. It loads the login page, but many of the elements on the login page are directed to https://127.0.0.1:9090
I also see this error when the page loads:
and this error when attempting to login:
The CF tunnels have an "HTTP Host Header" setting that I've tried set to "dynfi.myhostname.tld" in combination with "corsAllowOrigin=*", "corsAllowOrigin=", and "corsAllowOrigin=dynfi.myhostname.tld".
I've lost track a bit about which I've tried and not but I'm pretty darn sure I've tried all permutations.
I'd very much like to have DynFi Manager behind the security Cloudflare Zero Trust provides. Thoughts?
Thanks.Peet