nginx load balancer with geoip?

delphixe2 nginx-forum at
Sat Mar 3 03:46:20 UTC 2012

I tried that, and I get 500 Internal Server Error.
and more lines what I tested :
proxy_set_header   X-Real-IP  $remote_addr;
proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;

in any case, dosen't worked.

temporarily, I solved problem.
upstream {
upstream {

location / {
proxy_pass http://$;

and I added record for ->'s server
IP & ->'s IP
so, that image appeared, the link was :

but.. It is incomplete solution.

* now, you can see that site. I opened my server.

Posted at Nginx Forum:,223278,223291#msg-223291

More information about the nginx mailing list