WordPress behind reverse proxy, fix wrong IP, insert X-Forwarded-For IP
WordPress didn’t make use of the X-Forwarded-For header in my case, so votes/comments were logged with the local IP instead the remote IP. The header field REMOTE_ADDR was set to the local IP of the webserver node behind the reverse proxy. To get the real remote address of the calling Read more…