i found thy solution method: location ~* ^.+\.(htm|html|js|css|gif|png|jpg|xml)$ { if ($request_uri ~* ^.+\.(js|css)\?v=) { expires max; } expires 6h; } 2009-09-08 Chancey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://nginx.org/pipermail/nginx/attachments/20090908/aab9895d/attachment.html>