Skip to content

Commit 3c6caee

Browse files
committed
Refs #84 gzip compression has been configured for nginx
Compression level has been set to 6.
1 parent 71c957a commit 3c6caee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

conf/local/project/nginx.conf

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ server {
2121
ssl_prefer_server_ciphers on;
2222
add_header Strict-Transport-Security max-age=60000;
2323

24-
gzip on;
25-
gzip_http_version 1.1;
26-
gzip_static on;
27-
gzip_vary on;
28-
gzip_comp_level 6;
29-
gzip_proxied any;
30-
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
24+
gzip on;
25+
gzip_http_version 1.1;
26+
gzip_static on;
27+
gzip_vary on;
28+
gzip_comp_level 6;
29+
gzip_proxied any;
30+
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
3131

3232
if ($host !~* ^({{ pillar['domain'] }}|www.{{ pillar['domain'] }})$) {
3333
# Deny non-matching Host headers

0 commit comments

Comments
 (0)