location regex issue

Boyko Yordanov b.yordanov at exsisto.com
Fri Apr 15 14:18:52 MSD 2011


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.

Boyko

On Apr 15, 2011, at 1:02 PM, Igor Sysoev wrote:

> On Fri, Apr 15, 2011 at 12:39:39PM +0300, Boyko Yordanov wrote:
> 
> location = /browse/ {
>    if ($args != "") {
>        return 404;
>    }
>    ...
> }
> 




More information about the nginx mailing list