The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with mod_remoteip

Discussion in 'General Discussion' started by feday2, Apr 5, 2016.

  1. feday2

    feday2 Registered

    Joined:
    Apr 5, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kiev, Ukraine
    cPanel Access Level:
    Root Administrator
    Hi

    I have Cpanel + Apache 2.4 + Nginx
    mod_remoteip not work correctly. In logs I see the real client IP addr and the IP addr of my cpanel server (nginx). (As i understand - The nginx write to log real client IP )

    In httpd.conf for LogFormat i change %h to %a (not resolve problem)

    # httpd -M | grep -i remoteip
    remoteip_module (shared)

    Settings of remoteip:
    RemoteIPHeader X-Real-IP
    RemoteIPInternalProxy x.x.x.x (x.x.x.x - it is the address in access logs)
    RemoteIPInternalProxy 127.0.0.1
     
  2. feday2

    feday2 Registered

    Joined:
    Apr 5, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kiev, Ukraine
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page