is it possible to rewrite images? image store in /very/big/path/1.jpg , i want /img/1.jpg how can it be done?
|
feedback
|
|
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 ;). Edit: RewriteRule ^img/(.*)$ very/big/path/$1 something like this should work. | |||||
feedback
|