is it possible to rewrite images? image store in /very/big/path/1.jpg , i want /img/1.jpg how can it be done?
I think its easier to use the search here at first.
type: "nginx rewrite" to the search.
And there are many more posts where you can see how redirecting work with nginx ;).
RewriteRule ^img/(.*)$ very/big/path/$1
something like this should work.