File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.23.3-1
4
+
5
+ * Enable gzip compression globally.
6
+
3
7
## 1.23.3
4
8
5
9
* Upgrade nginx to 1.23.3.
Original file line number Diff line number Diff line change @@ -78,6 +78,46 @@ http {
78
78
proxy_set_header X-Request-ID $proxy_x_request_id;
79
79
proxy_set_header X-Forwarded-Host $proxy_x_forwarded_host;
80
80
81
+ gzip on;
82
+ gzip_comp_level 5;
83
+ gzip_min_length 256;
84
+ gzip_proxied any;
85
+ gzip_vary on;
86
+ gzip_types
87
+ application/atom+xml
88
+ application/geo+json
89
+ application/javascript
90
+ application/x-javascript
91
+ application/json
92
+ application/ld+json
93
+ application/manifest+json
94
+ application/rdf+xml
95
+ application/rss+xml
96
+ application/vnd.ms-fontobject
97
+ application/wasm
98
+ application/x-web-app-manifest+json
99
+ application/xhtml+xml
100
+ application/xml
101
+ font/eot
102
+ font/otf
103
+ font/ttf
104
+ image/bmp
105
+ image/svg+xml
106
+ image/vnd.microsoft.icon
107
+ image/x-icon
108
+ text/cache-manifest
109
+ text/calendar
110
+ text/css
111
+ text/javascript
112
+ text/markdown
113
+ text/plain
114
+ text/xml
115
+ text/vcard
116
+ text/vnd.rim.location.xloc
117
+ text/vtt
118
+ text/x-component
119
+ text/x-cross-domain-policy;
120
+
81
121
include /etc/nginx/app.conf;
82
122
83
123
server {
You can’t perform that action at this time.
0 commit comments