• curillo

    (@curillo)


    I have installed IP2 Locations Redirect, but it does not do any redirects.
    I enabled the Log file Debug writing, but the entire file ONLY lists the servers IP address after Client_ip.
    I never see the IP address I am testing with.

    Error similar to https://www.ads-software.com/support/topic/ip2location-only-logs-server-ip-in-log/
    My website does not have a cache, it is on a multisite NGINX server sub folders

    {"time":"2023-11-14 13:51:12","client_ip":"169.254.130.1","location":"??","lookup_by":"??","cache":false,"uri":"http:\/\/www.riverminds.com\/","message":"Redirection disabled.","action":"ABORTED"}
    {"time":"2023-11-14 13:52:52","client_ip":"169.254.130.1","location":"-","lookup_by":"Cache","cache":true,"uri":"https:\/\/riverminds.com\/ec\/","message":"\"-\" is NOT listed in [EC]","action":"ABORTED"}
    {"time":"2023-11-14 13:52:52","client_ip":"169.254.130.1","location":"-","lookup_by":"Cache","cache":true,"uri":"https:\/\/riverminds.com\/ec\/","message":"\"-\" is NOT listed in [US]","action":"ABORTED"}
    {"time":"2023-11-14 13:53:43","client_ip":"169.254.130.1","location":"-","lookup_by":"Cache","cache":true,"uri":"https:\/\/riverminds.com\/ec\/","message":"\"-\" is NOT listed in [EC]","action":"ABORTED"}
    {"time":"2023-11-14 13:53:43","client_ip":"169.254.130.1","location":"-","lookup_by":"Cache","cache":true,"uri":"https:\/\/riverminds.com\/ec\/","message":"\"-\" is NOT listed in [US]","action":"ABORTED"}
    {"time":"2023-11-14 13:56:12","client_ip":"169.254.130.1","location":"??","lookup_by":"??","cache":false,"uri":"http:\/\/www.riverminds.com\/","message":"Redirection disabled.","action":"ABORTED"}
    {"time":"2023-11-14 13:57:47","client_ip":"169.254.130.1","location":"-","lookup_by":"BIN","cache":false,"uri":"https:\/\/riverminds.com\/ec\/","message":"\"-\" is NOT listed in [EC]","action":"ABORTED"}
    {"time":"2023-11-14 13:57:47","client_ip":"169.254.130.1","location":"-","lookup_by":"BIN","cache":false,"uri":"https:\/\/riverminds.com\/ec\/","message":"\"-\" is NOT listed in [US]","action":"ABORTED"}

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author ip2location

    (@ip2location)

    It looks like your website is hosted behind a reverse proxy. Please configure your Nginx to forward the actual client IP to the website.

    You may Google “nginx forward real ip” for the tutorials.

Viewing 1 replies (of 1 total)
  • The topic ‘IP2Location only logs Server IP in Log’ is closed to new replies.