Problem with mod_remoteip
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
-
Hello :) This is discussed on the following thread: mod_remoteip and correct ip in vhost access logs Thank you. 0 -
Thanks! 0
Please sign in to leave a comment.
Comments
2 comments