Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
использование {} в rewrite
 
- To: nginx-ru@xxxxxxxxx
 
- Subject: использование {} в rewrite
 
- From: proforg <proforg@xxxxxxxxxxxx>
 
- Date: Fri, 12 Mar 2010 00:07:26 +0800
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;	h=domainkey-signature:mime-version:sender:received:from:date	:x-google-sender-auth:message-id:subject:to:content-type	:content-transfer-encoding;	bh=UzT+Y7vxBm6gDawi6WEaSpsClGBc9VC725ZcAyf60ps=;	b=nrNTdDCN/d6uLpAF5BiIVyh4w4Q5bC2KCkAvMYUx80KqEEf4rgWI30kKlijtx/Apw8	yUsShSg5BrlpHETWzTHrfI9DJdJhdkesB0k+1bhwwYeStZXOD4arPUsxeDWIiX678z3h	0U8bQMAOy5bJg1sRKSyYpIcj0drGiKK0wTBDg=
 
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;	h=mime-version:sender:from:date:x-google-sender-auth:message-id	:subject:to:content-type:content-transfer-encoding;	b=RFlFUp2aafsWnfXLMbfnmc+d80vM8eERB48kX62NFtAGoJVQ3wq6je9Gywr2ICLJvy	sI6282vGXpHVkED6aRHYOs/wBU3A3r05+t+neYMmICXf1kXOlUfw+UxQlHqaPnOFRXKm	dx7+O47u2WJCvy9WkpIRGed5do39dRnhrQuRo=
 
 
 
Пытаюсь написать такой вот rewrite, например
rewrite ^/([[:xdigit:]]{16})/(\w+\.avi)$ /video/$2 last;
а nginx -t говорит что
[emerg]: directive "rewrite" is not terminated by ";"
То есть понятно, в принципе, почему.
Но что с этим делать ?
Или я хочу странного и просто стоит ограничится + ?
-- 
Aleksej Besciokov
EMail/JID: proforg@xxxxxxxxxxxx
phone: +7 495 7853149
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
 
 |