Re: image_filter+proxy_pass and 301 (moved permanently) on backend

2014-02-12 Пенетрантность Jugurtha
Hello, Thx Sergey for this tips (solution) Posted at Nginx Forum: http://forum.nginx.org/read.php?21,245867,247452#msg-247452 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

image_filter+proxy_pass and 301 (moved permanently) on backend

2013-12-26 Пенетрантность Sergey Korzhevsky
Столкнулся со следующей проблемой. Необходимо проксировать картинки и при этом их резать. Реализуется в таком ключе (www.site.com/photos/www.images1.com/image1.jpg): location ~* ^/photos/(.*)$ { image_filter resize 50 -; proxy_pass http://$1; proxy_redirect