I think I should have mentioned that my domain is proxied on cloudflare, however, I’m using the .htninja file in order to detect the correct originating IP using the cloudflare header:
if (! empty($_SERVER[“HTTP_CF_CONNECTING_IP”]) &&
filter_var($_SERVER[“HTTP_CF_CONNECTING_IP”],FILTER_VALIDATE_IP)) {
$_SERVER[“REMOTE_ADDR”] = $_SERVER[“HTTP_CF_CONNECTING_IP”];
}
Below are the requested values:
$_SERVER[‘HTTP_ACCEPT_ENCODING’] gzip, br
$_SERVER[‘HTTP_ACCEPT’] text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7
$_SERVER[‘HTTP_ACCEPT_LANGUAGE’] en-US,en;q=0.9,ar;q=0.8
$_SERVER[‘HTTP_USER_AGENT’] Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0