Hi, hope everyone is doing great!
I have an issue with my website (develped using php) and after several hours of “googling”, i could not manage to solve it.
I want to force the users to the https version of my site, and i was used to handle this using $_SERVER[‘https’]. When i started using Cloudflare and the ‘proxy’ option, that parameter became non-declared. I have read that X-FORWARDED-PROTO is an alternative but, even accessing the site using https://, its value is ‘http’.
So the issue is definitely with Cloudflare, what could it be? Thanks a lot in advance!