I've spent two days searching the interwebz and the closest I got to get it working is https://lastcallmedia.com/blog/how-use-cloudflares-free-flexible-ssl-jira-and-confluence-server-apache-and-proxypass which in no way is ideal because it only works with Cloudflare's Flexible SSL settings and not Full or Strict.
I've tried Rodney's setup and that didn't work either ( https://thejiraguy.com/2021/10/14/adding-ssl-to-jira/ )
I've tried any possible way I could think of and not having any luck. As soon as I enable Full SSL (origin CA cert verification) the link dies.
I know the fault is on Cloudflare's end, however, I have a Zabbix server running with the same setup and no issues. Not sure why Jira is failing. And if I happen to get close to get a response from Apache, it's always a 301 with several redirects and no response.
Soooo, just for the sake of asking (Cloudflare's community is not very helpful unfortunately), has anyone ever gotten Jira Server to work with SSL behind Cloudflare?