ошибка с директивой rewrite
Igor Sysoev
is at rambler-co.ru
Mon Feb 20 14:47:27 MSK 2006
On Mon, 20 Feb 2006, Kovrigin Roman wrote:
> Кусок конфига:
> #75 location /genres/ {
> #76 rewrite ^/genres/([0-9]{1,2})/$
> /genres_images.php?id=$1 break;
> #77 }
>
> [root at at.freebsd:~]# nginx -t
> 2006/02/20 12:02:06 [emerg] 1438#0: directive "rewrite" in
> /usr/local/etc/nginx/nginx.conf:76 is not terminated by ";"
> 2006/02/20 12:02:06 [emerg] 1438#0: the configuration file
> /usr/local/etc/nginx/nginx.conf test failed
>
> Подскажите, плиз, в чем ошибка?
- rewrite ^/genres/([0-9]{1,2})/$
+ rewrite "^/genres/([0-9]{1,2})/$"
Проблема в '}'.
Игорь Сысоев
http://sysoev.ru
More information about the nginx-ru
mailing list