Nginx开启Gzip–Open Gzip in Nginx

为了节约流量,我们可以在Nginx上配置如下,
To save the flow, we can configure the Nginx like this,
1
2
gzip on;#开启Gzip--open the Gzip
gzip_min_length 1k;#1k以上开启Gzip--on[......]<p class="read-more"><a href="https://www.gerrytang.top/?p=6">Read more</a></p>