I have deployed open edx on proxmox VM with Masquerading (NAT) with iptables and successfully configured cloudflare tunnel to access my local deployment via http.
But I cannot access it via https despite the performing the following
tutor local launch - with proxy enabled and https enabled.
use the preconfigured tls key generated by tutor
cloudflare tunnel enable https with TLS disabled
But i get error 502.
Writing in to seek your help. Thank you very much.
What do you mean by successfully configured cloudflare tunnel to access my local deployment via http.? You mean you can access it on port 80, and you set “ENABLE_HTTPS: false” in the tutor config.yml?
My understanding is that that will fail/work badly. You may not be seeing the issues raised by setting this to false yet but you will (should?). That setting also informs certain generated URLs, that will get generated with http://, hence potentially causing mixed http/https issues. I’ve never used cloudflare tunnels but you may have to set ENABLE_HTTPS: true and then add an extra setting to the ingress caddyfile (probably via a tutor plugin). I’m definitely not an expert though!