rerwrite problem

Daniele Melosi ml at melosi.it
Wed Jan 13 11:26:05 MSK 2010


lnxa ha scritto:
> It is great!
> thanks!
> why if($host!='www.abc.com') not work?

it should be !~ instead of !=
but using if for $host is very inefficient and as suggested you before 
create different server block for each domain is the best solution.

Bye
Daniele



More information about the nginx mailing list