Hello!
So I have installed a WordPress website on wordops,
both wordops and the site are running behind a cloudflared tunnel
but after adding the HTTP_X_FORWARDED_PROTO
I can't upload assets to the website
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https' || $_SERVER['HTTPS'] == 'on') {
$_SERVER['HTTPS'] = 'on';
}
Does anyone know how to fix this?! or did I configure something wrong?
all other functions of the site work without any issues