FRiCKLE Labs & pres. ngx_cache_purge

Piotr Sikora piotr.sikora at
Thu Jun 17 05:37:33 MSD 2010

like I said before, you need to put "location ~ /purge(/.*)" before 
"location ~ .*\.(jpg|gif)$".

In your current configuration "" is served by 
"location ~ .*\.(jpg|gif)$". This is because both regexp locations match 
your query and in such case nginx picks the first one from the top.

Best regards,
Piotr Sikora < piotr.sikora at >

More information about the nginx mailing list