We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to Get Real User IP...
How to Get Real User IP...
Hello Team,
I have some problem with logs.... then i found this:https://support.cloudflare.com/hc/en-us ... ith-Nginx-
Can anyone guide me on how to fix this problem...
I have some problem with logs.... then i found this:https://support.cloudflare.com/hc/en-us ... ith-Nginx-
Can anyone guide me on how to fix this problem...
Re: How to Get Real User IP...
Hi, are you using nginx + apache? in that case you can set headers in nginx so apache receives them and sets the client IP accordingly.
could you look into your phpinfo? (make a file info.php that contains this code:
then lookit online http://www.yourdomain.com/info.php
and search for REMOTE_ADDR
then post some more info here...
could you look into your phpinfo? (make a file info.php that contains this code:
Code: Select all
<?php phpinfo(); ?>
and search for REMOTE_ADDR
then post some more info here...
Re: How to Get Real User IP...
Simply use
Code: Select all
<?php
$ip = $_SERVER["HTTP_CF_CONNECTING_IP"];
?>