Error 404 if url contains "star"

Francis Daly francis at
Sun Apr 10 18:37:35 UTC 2016

On Sun, Apr 10, 2016 at 07:16:33PM +0200, Alexander Schwarz wrote:

Hi there,

> i have a very strange problem with my nginx configuration. If the URL contains the word "star", i get the standard 404 Error not found page.
> I defined a rule that should redirect all requests to index.php.

Your rule does not redirect *all* requests.

> Any ideas?!

There's a missing backslash "\" on the "location ~*" line, just before
the ".(".

Francis Daly        francis at

More information about the nginx mailing list