Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

nginx gzip

server {
    gzip on;
    gzip_disable "msie6";

    gzip_vary on;
    gzip_proxied any;
    gzip_comp_level 6;
    gzip_buffers 16 8k;
    gzip_http_version 1.1;
    gzip_min_length 256;
    gzip_types
    application/atom+xml
    application/geo+json
    application/javascript
    application/x-javascript
    application/json
    application/ld+json
    application/manifest+json
    application/rdf+xml
    application/rss+xml
    application/xhtml+xml
    application/xml
    font/eot
    font/otf
    font/ttf
    image/svg+xml
    text/css
    text/javascript
    text/plain
    text/xml;
}
Comment

overall configuration gzip compression with nginx

server {
    gzip on;
    gzip_types      text/plain application/xml;
    gzip_proxied    no-cache no-store private expired auth;
    gzip_min_length 1000;
    ...
}
Comment

PREVIOUS NEXT
Code Example
Shell :: encrypt zip password 
Shell :: Installing the virtualenv for you app 
Shell :: bash load file into list 
Shell :: giving permission to folder in ubuntu 
Shell :: Google Chrome freeze uploading a file ubuntu 22.04 
Shell :: ngrok command 80 not found 
Shell :: conda install keyboard 
Shell :: git empty commit 
Shell :: centos set permissions on folder recursively 
Shell :: vim insert text at the the beginning of multiple lines 
Shell :: yarn 2 upgrade all packages 
Shell :: how to update code in github 
Shell :: start Gui on your Ubuntu 20.04 system from cli 
Shell :: migrate has no installation candidate 
Shell :: brew install docker 
Shell :: github no changes added to commit 
Shell :: ghost in the shell 
Shell :: apt imagemagick 
Shell :: change git username and email 
Shell :: base64 encode linux 
Shell :: linux dd show progress 
Shell :: powershell create service 
Shell :: git update gitignore remove files 
Shell :: download sublime notepad ubuntu 
Shell :: unable to import wx 
Shell :: rsync only updated files 
Shell :: powershell pip CERTIFICATE_VERIFY_FAILED 
Shell :: linux print system info 
Shell :: add user to docker group 
Shell :: open port 8080 fedora 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =