Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rewrite
ðÒÏÂÏ×ÁÌ ÔÁË, ÐÏÌÕÞÁÀ 500 ÏÛÉÂËÕ
location /static/images/mime/ {
if (!-e $request_filename) {
rewrite ^(.*)/[^/]+\.png$ $1/default.png last;
}
}
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,230251,230252#msg-230252
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|