use proxy store with url parameters

Casey Rayman casey.rayman at
Fri Feb 1 21:47:05 MSK 2008

I have been trying to get proxy_store to work with a url of the form / 
resource?resourceId=XXX where XXX is a number.  This url actually  
returns a graphic from a database which does not change often.  Is is  
possible to have proxy store work in this case where the XXX is the  
only part of the URL which is any different?

My most recent attempt:

         location /resource {
                 root /var/www/data/fetch;
                 error_page 404 = /fetch$args;
         location ^~ /fetch/ {
                 proxy_store /var/www/data/fetch$args;
                 proxy_store_access user:rw group:rw all:r;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list