add compression to nginx

Signed-off-by: garionion <github@entr0py.de>
This commit is contained in:
garionion 2021-04-05 23:36:05 +02:00
parent f0d147ab27
commit 585fdb76f8
Signed by: garionion
GPG Key ID: 53352FA607FA681A
1 changed files with 6 additions and 0 deletions

View File

@ -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]\.";
}