Skip to content

Instantly share code, notes, and snippets.

@ihower
Created September 14, 2015 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihower/517818a8bb670ef639b3 to your computer and use it in GitHub Desktop.
Save ihower/517818a8bb670ef639b3 to your computer and use it in GitHub Desktop.
sendfile on;
tcp_nopush on;
tcp_nodelay on;
#keepalive_timeout 0;
keepalive_timeout 65;
gzip on;
gzip_disable "msie6";
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types
application/atom+xml
application/javascript
application/x-javascript
application/json
application/rss+xml
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/svg+xml
image/x-icon
text/css
text/javascript
text/xml
text/plain
text/x-component;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment