That was my typeing error cause I was writing this post on a text file before posting it. I just meant /oldfolder/ so forget the jpg at the end of the folder name. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,169853,169871#msg-169871