location ~* \.(ico|css|js|gif|jpg|png)$ { expires 7d; } If I add this to my server conf it will cause all those requests to fail with a 404..I'm feeling silly for missing this, and I know it's probably very easy to fix...but how? :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,70739,70739#msg-70739