add compression to nginx
Signed-off-by: garionion <github@entr0py.de>
This commit is contained in:
parent
f0d147ab27
commit
585fdb76f8
1 changed files with 6 additions and 0 deletions
|
@ -43,4 +43,10 @@ server {
|
|||
#location ~ /\.ht {
|
||||
# deny all;
|
||||
#}
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_min_length 10240;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue