14 messages in ru.sysoev.nginxRe: Nginx load balancer with GeoIP
FromSent OnAttachments
Glen LumanauNov 10, 2008 7:10 pm 
Igor SysoevNov 10, 2008 10:39 pm 
Glen LumanauNov 10, 2008 11:18 pm 
Glen LumanauNov 11, 2008 11:34 pm 
Glen LumanauNov 11, 2008 11:48 pm 
Igor SysoevNov 12, 2008 12:18 am 
Igor SysoevNov 12, 2008 12:19 am 
Glen LumanauNov 12, 2008 1:03 am 
Igor SysoevNov 12, 2008 1:35 am 
gl...@lumanau.web.idNov 12, 2008 1:40 am 
Igor SysoevNov 12, 2008 1:45 am 
Glen LumanauNov 12, 2008 1:51 am 
Glen LumanauNov 12, 2008 1:58 am 
gl...@lumanau.web.idNov 12, 2008 3:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Nginx load balancer with GeoIPActions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Nov 10, 2008 10:39:39 pm
List:ru.sysoev.nginx

On Tue, Nov 11, 2008 at 10:10:42AM +0700, Glen Lumanau wrote:

Is nginx will support load balancing with GeoIP support?

Example :

If match country US

Proxy_pass http://us.server/;

If match other

Proxy_pass http://default.server/;

http { geo $geo { default default; 1.1.1.0/24 us; 1.1.2.0/24 us; 1.1.3.0/24 us; ... }

upstream us.server { .... }

upstream default.server { .... }

server { location / { proxy_pass http://$geo.server; }