root /home/user/public_html/$2 после if+pcre

Roxis roxis at list.ru
Thu Feb 22 00:19:58 MSK 2007


On Wednesday 21 February 2007, Sergey Shepelev wrote:
> if ( $host ~ "^...$" ) {
>   set $domnam $2;
>   root /home/...$domnam;
> }
Спасибо, помогло.






More information about the nginx-ru mailing list