Skip to content

Commit 47fd7ab

Browse files
key to detect ip in Jelastic Environments
If you use Jelastic Cloud Environments you have another key to get client ip. I put this one in array to works
1 parent 8f54e12 commit 47fd7ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GeoIP.php

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public function getClientIP()
232232
$remotes_keys = [
233233
'HTTP_X_FORWARDED_FOR',
234234
'HTTP_CLIENT_IP',
235+
'HTTP_X_REAL_IP',
235236
'HTTP_X_FORWARDED',
236237
'HTTP_FORWARDED_FOR',
237238
'HTTP_FORWARDED',

0 commit comments

Comments
 (0)