gzip.conf 651 B

12345678910111213141516171819202122232425
  1. gzip on;
  2. gzip_http_version 1.0;
  3. gzip_min_length 1100;
  4. gzip_buffers 4 8k;
  5. gzip_types
  6. # text/html is always compressed by HttpGzipModule
  7. text/css
  8. text/javascript
  9. text/xml
  10. text/plain
  11. text/x-component
  12. application/javascript
  13. application/x-javascript
  14. application/json
  15. application/xml
  16. application/rss+xml
  17. application/atom+xml
  18. font/truetype
  19. font/opentype
  20. application/vnd.ms-fontobject
  21. image/svg+xml;
  22. gzip_proxied expired no-cache no-store private auth;
  23. gzip_disable "msie6";
  24. gzip_vary on;
  25. gzip_comp_level 1;