Home » Code Snippets » Gzip nginx

Gzip nginx

gzip on;
gzip_types
        application/atom+xml
        application/ecmascript
        application/javascript
        application/json
        application/ld+json
        application/manifest+json
        application/postscript
        application/rss+xml
        application/vnd.geo+json
        application/vnd.ms-fontobject
        application/x-font
        application/x-font-opentype
        application/x-font-otf
        application/x-font-truetype
        application/x-font-ttf
        application/x-javascript
        application/x-web-app-manifest+json
        application/xhtml+xml
        application/xml
        application/xml+rss
        font/opentype
        font/otf
        font/ttf
        image/bmp
        image/svg+xml
        image/x-icon
        text/cache-manifest
        text/css
        text/csv
        text/plain
        text/vcard
        text/vnd.rim.location.xloc
        text/vtt
        text/x-component
        text/x-cross-domain-policy
        text/xml;

gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_min_length 50;
gzip_buffers 16 8k;
gzip_http_version 1.1;
Share :
Frederic C.

I'm French and born in the '80s. Graduated from a computer license and working as a programmer for more than 10 years. I have not always been good in IT, but by persevering, I gained some experience in this field. Through this website, I share practical and technical tips related to websites and web business.

 September 30, 2019(Updated : October 5, 2019) Frederic C.

Recent Posts
  • Registration of domain name : I recommend Namecheap (my review)
  • Pcloud review : A better cloud storage than Dropbox, iCloud, Google Photos…
  • How to install a WordPress Theme
  • How to post on Instagram from a PC or Mac
  • Website speed tester : How to check if your website is fast?
Creator in Pj's

Creator in Pj's

  • Home
  • About
  • Privacy Policy
  • Terms of Service
© 2025 All rights reserved · creatorpjs.com