misunderstood regex location

Francis Daly francis at daoine.org
Mon May 5 23:39:59 UTC 2014


On Mon, May 05, 2014 at 06:38:45PM -0400, dcaillibaud wrote:

Hi there,

> location ^~ "/banniere_rotative/.*\.css$" {
> 
> doesn't (inside prefix location or not)
> 
> What's the obvious mistake I made in my regex ?

^~ is a prefix match, not a regex match.

http://nginx.org/r/location

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list