Nginx load balancer with GeoIP

glen at glen at
Wed Nov 12 12:40:29 MSK 2008

I already install and load mod_rpaf like already described from my previous email


Glen Lumanau
Sent from my BlackBerry®

-----Original Message-----
From: Igor Sysoev <is at>

Date: Wed, 12 Nov 2008 12:35:41 
To: <nginx at>
Subject: Re: Nginx load balancer with GeoIP

On Wed, Nov 12, 2008 at 04:03:57PM +0700, Glen Lumanau wrote:

> Thank's Igor it's works successfull.
> Onother question is, are we using the Load Balancer bandwidth also to send
> the data to the client?
> Because what we do is, I'm mirroring the server in my country, and I have
> onother server which is located in US
> Also, I already install mod_rpaf on the apache, and set
>         proxy_set_header Host $host;
>         proxy_set_header X-Real-IP $remote_addr;
>         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>         proxy_pass http://$geo.server$request_uri;
> But what I received on the apache logs, is still the load balancer IP, not
> the public IP

You should add mod_rpaf ( ) to Apache.

Igor Sysoev

More information about the nginx mailing list