domainerq

Member
Feb 22, 2017
14
5
3
Peru
cPanel Access Level
Root Administrator
Hello, I am experiencing some kind of problem when i am trying to see my lasts visitors.
I have a website with more than 200 real users connected simultaneosly and i want to see the ips of each one of them , but the screen shows that the visitors seem to have the same ip.
Is there someting that i have to configure?

[Removed - Please attach images directly to the thread]

Thanks for your help.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Your access level is listed as "Website Owner". Do you have root access to this system? If not, please report this issue to your web hosting provider, as it likely relates to the use of custom software (e.g. Nginx) and how it's configured.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Could you verify if you are using third-party applications such as Nginx, or using a service such as CloudFlare?

Thank you.
 

domainerq

Member
Feb 22, 2017
14
5
3
Peru
cPanel Access Level
Root Administrator
Hello, thanks for the information, but i still have the problem.

I know this is not a forum about nginx, but i would apreciate a final help.

I am using Cpnginx.

I did the following steps to install ( with-http_realip_module):

in the location: /usr/src/cpanelnginx ------
i have executed this..
Code:
 1  ./configure --prefix=/usr/local/nginx --with-http_realip_module
 2  make
 3  make install
 4  cp -f /etc/cpnginx/nginx.cont.template /usr/local/nginx/conf/nginx.conf
 5  touch /usr/local/nginx/conf/vhost.conf


/////////////////////////////////////////////////////////////////////////////////////
This is my nginx.conf
////////////////////////////

# cPanel Nginx Master configuration
user  nobody;
error_log  logs/error.log;
#Number of worker you need
worker_processes  1;
# How many connections a worker can handle maximum.
events {
    worker_connections  50000;
}
http {
    include    mime.types;
    default_type  application/octet-stream;
    sendfile on;
    server_names_hash_max_size 10000;
        server_names_hash_bucket_size 1024;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout  10;
    gzip on;
    gzip_min_length  1100;
    gzip_buffers  4 32k;
    gzip_types    text/plain  application/x-javascript text/xml text/css;
    ignore_invalid_headers on;
    client_header_timeout  3m;
    client_body_timeout 3m;
    send_timeout     3m;
    include "/usr/local/nginx/conf/vhost.conf";
    include "/etc/cpnginx/cpanelproxy.conf";
}
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 104.16.0.0/12;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 131.0.72.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 162.158.0.0/15;
set_real_ip_from 172.64.0.0/13;
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 188.114.96.0/20;
set_real_ip_from 190.93.240.0/20;
set_real_ip_from 197.234.240.0/22;
set_real_ip_from 198.41.128.0/17;
set_real_ip_from 199.27.128.0/21;
set_real_ip_from 2400:cb00::/32;
set_real_ip_from 2606:4700::/32;
set_real_ip_from 2803:f800::/32;
set_real_ip_from 2405:b500::/32;
set_real_ip_from 2405:8100::/32;
set_real_ip_from 2c0f:f248::/32;
set_real_ip_from 2a06:98c0::/29;

real_ip_header    X-Forwarded-For;
real_ip_recursive on;
# use any of the following two
#real_ip_header CF-Connecting-IP;
#real_ip_header X-Forwarded-For;

///////////////////////////////////////////////////////////////
I have restarted apache and nginx services , but the problem still persist , the visitor's screen in cpanel only show my own IP.
... I don't know what more i have to do.

Thanks for the time.
 
Last edited by a moderator: