We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ff62d commit 4b460f7Copy full SHA for 4b460f7
src/etc/nginx/nginx.conf.template
@@ -27,7 +27,23 @@ http {
27
#tcp_nopush on;
28
29
keepalive_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
30
- #gzip on;
+
31
+ # Enable gzip compression for better performance
32
+ gzip on;
33
+ gzip_vary on;
34
+ gzip_min_length 1024;
35
+ gzip_comp_level 6;
36
+ gzip_types
37
+ text/plain
38
+ text/xml
39
+ text/css
40
+ text/javascript
41
+ application/xml
42
+ application/json
43
+ application/javascript
44
+ application/xml+rss
45
+ application/atom+xml
46
+ image/svg+xml;
47
48
# Don't leak information about this server.
49
server_tokens off;
0 commit comments