There are plenty of example around the web. Search something like "nginx static content expires": Here is one example: http://serverfault.com/questions/23157/setting-expires-headers-for-static-content-served-from-nginx Posted at Nginx Forum: http://forum.nginx.org/read.php?2,176511,176968#msg-176968