Skip to content

Instantly share code, notes, and snippets.

@c9n
Created April 22, 2014 04:58
Show Gist options
  • Save c9n/11165761 to your computer and use it in GitHub Desktop.
Save c9n/11165761 to your computer and use it in GitHub Desktop.
Nginx NO CACHE Demo
server {
server_name try.c9n.me;
listen 80;
root /Users/lynn/Desktop;
index index.html index.htm;
location ~ \.gif {
add_header Last-Modified "";
if_modified_since off;
etag off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment