i have a problem configuring nginx with an old PHP based CMS.
The PHP creates URLs like this one. http://mysite.com/img/s/58x45/upload/images/gallery/foto/032013/directory/06.jpg
Where img is the controller, s the action and 58x45 the size (to be cropped).
upload/images/gallery/foto/032013/directory/06.jpg is the path to the image. The path changes based on the directory in which the files are uploaded.
NGINX is trying to acces the images directly and gives me 404.
I would like to let the controller/action handle it. (crop/save/serve the image).
Any ideas?