nginx-0.6.18

Cliff Wells cliff at develix.com
Sat Dec 1 01:18:07 MSK 2007


On Fri, 2007-11-30 at 14:07 -0800, Cliff Wells wrote:

> map $host $internal_ip {
>     hostnames;
>     .host1.com       127.0.0.2;
>     .host2.com       127.0.0.3;
>     .host3.com       127.0.0.3;
> }
> 

And of course I meant

map $host $internal_ip {
    hostnames;
    .host1.com       127.0.0.2;
    .host2.com       127.0.0.3;
    .host3.com       127.0.0.4;
}



Cliff






More information about the nginx mailing list