Support reverse proxy
-
Please, use HTTP_X_FORWARDED_FOR when available instead of REMOTE_ADDR.
When a reverse proxy/balancer is in effect, server variable REMOTE_ADDR contains IP of the local proxy/balancer and HTTP_X_FORWARDED_FOR contains IP of the visitor.Otherwise, your plugin with only REMOTE_ADDR is reporting that all visitors come from same IP address on that common scenarios.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Support reverse proxy’ is closed to new replies.