Thread:Project:Support desk/500 Internal Server Error after Migration/reply (22)

No, that is not what I want to know. Open the tab Netzwerk and check the entries under Domain. Then call the URL with these numbers/letters in it, and when you hit enter, Firebug will list the different GET/POST requests. What is happening there?

Next question: Why are the requests, which you see there, happening?

Last question: How can the same be accomplished in Nginx. Basically I guess that you need this logic in the nginx configuration: In the folder images/, if a file in the second level of subfolders is requested (URL contains the according number of path segments separated by slashes) and if the file is not there, then redirect to the same URL, but without these two path segments.

Apache config would be something like this:

RewriteCond %{REQUEST_FILENAME} !-f RewriteRule images/[0-9a-zA-Z]{1}/[0-9a-zA-Z]{2}/.* images/$1 [L]

Untested, might not yet be working. In words: Only do the following rewrite, if the requested filoe is not present. Then: Rewrite, if the called path contains "images/", then one alphanumerical character, a slash, then two alphanumerical characters and a slash and then "any string". If so, then rewrite to "images/" and append the things that were there before ("any string").

Maybe you can use this website from above to transform it into Nginx configuration.