Location directive not working

Francis Daly francis at daoine.org
Wed Mar 26 13:34:59 UTC 2014


On Wed, Mar 26, 2014 at 12:31:30PM -0000, Alex wrote:

Hi there,

> This OR regex :  location ~* \.(gif|jpg|jpeg)$

Which part of that line says that it is a regex?

(The answer is in the documentation.)

> works on jogs and gifs, why can not I use the same syntax for the URIs as
> I am doing it?

If you used the same syntax, it would probably work.

> >> location ^~ /(videos|events) {

is not the same syntax.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list