Not all locations considered

Maxim Dounin mdounin at
Mon Jul 23 15:51:57 UTC 2012


On Mon, Jul 23, 2012 at 11:14:19AM -0400, mdeinum wrote:

> For a web application we have developed we wanted to use nginx as a
> reverse proxy but I have some trouble/weird issues when setting it up.
> Itseemds that part of my configuration is ignored, it appears it has to
> do with the order and amount of locations (but that is at first sight).
> We use nginx in a windows environment (on our test servers).


> Now if I comment app3 and app4 app5 works, if I don't app5 does't work.
> I get 404 errors. If I check the debug log I see it only checks app1,
> app2, app3 and then it tells me using configuration "", after which it
> tries to load the file from the file system. I'm not experienced enough
> to see or deduct what is wrong (apparently :) ). So I'm looking for
> pointers to the solution (or even better the solution).

This sounds very similar to

Are you indeed using "/app1", "/app2" and so on in your config, or 
it's just masks for some real names with uppercase letters?  If 
there are upperacse letters, than using locations in lowercase 
will resolve the issue as suggested in the ticket linked.

Maxim Dounin

More information about the nginx mailing list