FRiCKLE Labs & yo.se pres. ngx_cache_purge
piotr.sikora at frickle.com
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 "http://www.test.com/purge/1.gif" 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.
Piotr Sikora < piotr.sikora at frickle.com >
More information about the nginx