How can i write this location?

Chancey chanceycn at gmail.com
Tue Sep 8 14:08:01 MSD 2009


Hi guys!

How to set expires the URL like http://a.com/a.js?v=xxx and http://a.com/a.css?v=xxx.
only match URL with "?v="

i write this, but can't invalidation :

        location ~* \.(js|css)\?v=.* {
                expires 1y;
        }

2009-09-08 



Chancey 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090908/dd74e81d/attachment.html>


More information about the nginx mailing list