Image_filter before proxy_store

Anton Yuzhaninov citrin at
Tue May 26 19:10:23 MSD 2009

Reinis Rozitis wrote:
> I could of course change the  proxy_pass  to make a request back to for
> example  and then define
> location /small {} which contains the resize and parent proxy_pass
> definition, but wanted to ask maybe if there is more optimal solution
> rather than making a second request to nginx itself.

Better to use separate nginx instance for resizing, and proxy_cahce with proxy_pass to resizer
in main instance.

Resize can block on CPU for relatively long time.

 Anton Yuzhaninov

More information about the nginx mailing list