Skip to content

Commit 9576169

Browse files
committed
bugfix/DBC22-1892: Enable gzip
1 parent fb7dd9a commit 9576169

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

compose/frontend/default.conf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22
proxy_temp_path /tmp/proxy_temp;
33
proxy_cache_path /var/cache/nginx keys_zone=cache:50m;
44

5+
gzip on;
6+
gzip_vary on;
7+
gzip_min_length 1024;
8+
gzip_proxied any;
9+
gzip_types
10+
text/css
11+
text/plain
12+
text/javascript
13+
application/javascript
14+
application/json
15+
application/x-javascript
16+
application/xml
17+
application/xml+rss
18+
application/xhtml+xml
19+
application/x-font-ttf
20+
application/x-font-opentype
21+
application/vnd.ms-fontobject
22+
image/svg+xml
23+
image/x-icon
24+
application/rss+xml
25+
application/atom_xml;
26+
gzip_disable "MSIE [1-6]\.";
27+
28+
529
server {
630
listen 3000;
731
listen [::]:3000;

0 commit comments

Comments
 (0)