initial commit
This commit is contained in:
7
files/conf.d/gzip.conf
Normal file
7
files/conf.d/gzip.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
gzip_disable "msie6"; # Do people still use Internet Explorer 6? In that case, disable gzip and hope for the best!
|
||||
gzip_vary on; # Also compress content with other MIME types than "text/html"
|
||||
gzip_types application/json text/css application/javascript; # We only want to compress json, css and js. Compressing images and such isn't worth it
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6; # Set desired compression ratio, higher is better compression, but slower
|
||||
gzip_buffers 16 8k; # Gzip buffer size
|
||||
gzip_http_version 1.0; # Compress every type of HTTP request
|
Reference in New Issue
Block a user