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: "Namaste" <nginx-forum@xxxxxxxx>
- Date: Sun, 24 Feb 2013 07:49:27 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=7L4KnBYfrO13+OeppWX1SET83kQVoc/4prjUR7anBQc=; b=EhqjmjruLOMYq+0tXiRuRHJsJUffQWevpKk8bGz6g9X8LiN0Ta1rFGFoTDRKsvkmLnaUCpLbsdv4CvQls7HH9hXD/bygaNekNxT1vlk3xBgTNMpWEEAqbzEw4va8TSf2;
Привет!
Помогите, плз, настроить rewrite.
location /images/ {
rewrite ^/images/(.*)-w([0-9]+)-([0-9]+).jpg$
/imagesnew/$3-$2.jpg ;
rewrite_log on;
}
Не работает. В логе вижу запрос по обычному пути.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,236545,236545#msg-236545
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|