Wildcard to nginx proxy in cf tunel doesn't work with HTTPS

I have my cf domain which is set to:
@ my public ip
* cf tunnel
In cf tunnel public hostnames I have added *.example.org which points at NGINX using HTTPS and I get gateway error 502, but when I add subdomain one by one it works.
I'm trying to not do double work and just use nginx for sub domain config not both of them.
HTTP works fine when I disable Force SSL in nginx, but I would like to keep encryption on everywhere

Let me know if you need any more details or have ideas
Was this page helpful?