On Thu, Oct 29, 2009 at 12:16:02AM +0200, Iantcho Vassilev wrote:
> Is it possible to proxy pass a location based in source IP??
There is a limited solution:
map $remote_addr $backend {
default one;
192.168.1.1 two;
192.168.1.2 two;
}
location / {
proxy_pass htttp://$backend$request_uri;
}
--
Igor Sysoev
http://sysoev.ru/en/