Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: если www то без картинок
2010/9/3 Settler <nginx-forum@xxxxxxxx>:
> [b]Со строкой[/b]
> server_name ~(www\.){0,1}(?P.*);
> [b]пишет[/b]
> [emerg]: directive "server_name" is not terminated by ";" in
> /usr/local/nginx/conf/nginx.conf:23
>
> видимо неправильный синтаксис
server_name ~^(www\.)?(?P<my_host>.+)$;
--
Boris Dolgov.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|