toggle menu

Gip Compression on Nginx Server

Sanjay Kumar |29 Mar at 06:03

I have put below value indie the /etc/nginx/nginx.conf inside http like below and its work fine for me

http {

 

    ##
    # Gzip Settings
    ##

        gzip on;
        gzip_vary on;
        gzip_disable "MSIE [1-6]\.";
        gzip_static on;
        gzip_min_length 1400;
        gzip_buffers 32 8k;
        gzip_http_version 1.0;
        gzip_comp_level 5;
        gzip_proxied any;
        gzip_types text/plain text/css text/xml application/javascript application/x-javascript application/xml application/xml+rss application/emacscript application/json image/svg+xml;

 

}

  • 2 likes
  • 3 comments

Vibhu Vikram Singh10 Apr at 07:04

how to solven

Vibhu Vikram Singh10 Apr at 07:04

fix

Vibhu Vikram Singh10 Apr at 08:04

fix

Posted:

29 Mar at 06:03

Viewed:

1279 times

Active:

10 Apr at 08:04