Location directive not working

Francis Daly francis at daoine.org
Wed Mar 26 09:03:24 UTC 2014


On Wed, Mar 26, 2014 at 12:30:21AM -0000, Alex wrote:

Hi there,

> It works only when I include
> one item, when I do (videos|events) it does not work
> 
> location ^~ /(videos|events) {

That is not a regex location. A request for /videos/ will not match it.

http://nginx.org/r/location

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list