No, your mistake was a "break" which stops processing before any "if" would run. Also it is better to use "map" to set value instead of "set/if".
--
Igor Sysoev
16.08.2011, в 14:18, "somebi" <nginx-forum@nginx.us> написал(а):
> Thanks. Now it's working. I guess my mistake was in additional quotes.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213841,213874#msg-213874
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx