Skip to content

Commit

Permalink
Don't cache .html or .htm files
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Dawson committed Mar 24, 2013
1 parent 1aa44a8 commit b39dfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/conf/expires.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# default expire rule with nginx unless your site is completely static

# cache.appcache, your document html and data
location ~* \.(?:manifest|appcache|html|xml|json)$ {
location ~* \.(?:manifest|appcache|html?|xml|json)$ {
expires -1;
access_log logs/static.log;
}
Expand Down

0 comments on commit b39dfb5

Please sign in to comment.