File tree Expand file tree Collapse file tree 1 file changed +28
-11
lines changed Expand file tree Collapse file tree 1 file changed +28
-11
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,34 @@ server {
46
46
listen [::]:80;
47
47
server_name example.com;
48
48
49
- gzip on;
50
- gzip_disable "msie6";
51
-
52
- gzip_vary on;
53
- gzip_proxied any;
54
- gzip_comp_level 6;
55
- gzip_buffers 16 8k;
56
- gzip_http_version 1.1;
57
- gzip_min_length 256;
58
- gzip_types
59
- application/json;
49
+ brotli on;
50
+ brotli_comp_level 6;
51
+ brotli_types
52
+ text/css
53
+ text/plain
54
+ text/xml
55
+ text/x-component
56
+ text/javascript
57
+ application/x-javascript
58
+ application/javascript
59
+ application/json
60
+ application/manifest+json
61
+ application/vnd.api+json
62
+ application/xml
63
+ application/xhtml+xml
64
+ application/rss+xml
65
+ application/atom+xml
66
+ application/vnd.ms-fontobject
67
+ application/x-font-ttf
68
+ application/x-font-opentype
69
+ application/x-font-truetype
70
+ image/svg+xml
71
+ image/x-icon
72
+ image/vnd.microsoft.icon
73
+ font/ttf
74
+ font/eot
75
+ font/otf
76
+ font/opentype;
60
77
61
78
location / {
62
79
proxy_set_header X-Real-IP $remote_addr;
You can’t perform that action at this time.
0 commit comments