• Hello,

    I am using the plugin on a Nginx server. The plugin is showing the server IP for every user, instead of showing the logged in user’s real IP.

    How can I set the plugin to obtain the user’s IPs using “HTTP_X_REAL_IP” on a server that uses Nginx configuration to display the real IP of the logged in user?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Faiyaz Alam

    (@faiyazalam)

    you can check this function “get_ip” in the following file:

    
    wordpress\wp-content\plugins\user-login-history\admin\class-user-login-history-user-tracker.php

    You have to check the content of the variable $_SERVER and then modify the function.

    • This reply was modified 7 years, 5 months ago by Faiyaz Alam.
Viewing 1 replies (of 1 total)
  • The topic ‘IP Issue’ is closed to new replies.