Skip to content

Commit e70975e

Browse files
authored
web: enable GZIP compression for more file types
1 parent 774aba5 commit e70975e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/rootfs/defaults/nginx.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ http {
4141
##
4242

4343
gzip on;
44-
gzip_disable "msie6";
44+
gzip_types text/plain text/css application/javascript application/json;
45+
gzip_vary on;
46+
gzip_min_length 860;
4547

4648
# gzip_vary on;
4749
# gzip_proxied any;

0 commit comments

Comments
 (0)