From d8e22c9219b3cc3adf62b4dbf7ab934174876e1c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 19 Aug 2025 11:18:33 +0300 Subject: [PATCH] Update common.php --- common.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common.php b/common.php index 69a97fc9e..333d2e821 100644 --- a/common.php +++ b/common.php @@ -51,7 +51,11 @@ $allowedCDNs = [ 'HTTP_CF_CONNECTING_IP', 'HTTP_FASTLY_CLIENT_IP', 'HTTP_X_REAL_IP', - 'HTTP_X_FORWARDED_FOR' + 'HTTP_X_FORWARDED_FOR', + // Add your custom headers here if needed + // Example: 'HTTP_TRUE_CLIENT_IP', // Akamai + // Example: 'HTTP_X_CLIENT_IP', // Custom proxy + // Example: 'HTTP_INCAP_CLIENT_IP', // Incapsula ]; if (empty($trustedProxies) || in_array($_SERVER['REMOTE_ADDR'], $trustedProxies)) {