Welcome! Log In Create A New Profile

Advanced

Re: Rewrite

August 29, 2012 02:17AM
В общем с помощью лога ошибок удалось написать рабочий вариант

location /static/images/mime/ {
root /var/www/static/;
if (!-e $request_filename) {
rewrite /([^/]+)/[^/]+\.png$ /static/images/mime/$1/default.png break;

}
}
Subject Author Posted

Rewrite

Hett August 29, 2012 01:51AM

Re: Rewrite

Hett August 29, 2012 01:58AM

Re: Rewrite

Hett August 29, 2012 02:00AM

Re: Rewrite

Hett August 29, 2012 02:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready