location regex issue

Igor Sysoev igor at sysoev.ru
Fri Apr 15 15:22:36 MSD 2011

On Fri, Apr 15, 2011 at 01:18:52PM +0300, Boyko Yordanov wrote:
> Thanks Igor,
> Actually it was about caching - I needed to cache /browse/ only and not /browse/?stuff
> I used proxy_no_cache $args to make sure cached response wont be used when $args are present. Seems to work well, logging only MISSed responses, no cache HITs.

location = /browse/ {
    proxy_cache_bypass  $args;
    proxy_no_cache      $args;

Igor Sysoev

More information about the nginx mailing list