Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location ~ (.*)/img/i/ {
- try_files $uri $uri/ /index.php$uri?$args;
- }
- location ~* /(h|w|fm|trim|fit|pad|border|or|bg)_.*.(jpg|png) {
- rewrite "(.*).(jpg|png)$" /index.php/img/i/$1.$2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement