image manipulation with cache facility in nginx

Manipulation like resizing to cropping, rotating an image is very easy through image_filter module of nginx. In addition we can cache this manipulated images.

We will need 2 nginx server.

  1. original server [ i,e, http://mysite.local:80 ]
  2. media server. [ i,e, http://media.local:80 ] This server will be used to deliver the desired resized or cropped images.

Here is the configuration for the servers:

Like
Like Love Haha Wow Sad Angry

Leave a Reply

Your email address will not be published. Required fields are marked *