瀏覽代碼

More aggressively enable gzip

master
Chris Smith 5 年之前
父節點
當前提交
c63e2f35ed
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      nginx.conf

+ 4
- 0
nginx.conf 查看文件

@@ -9,3 +9,7 @@ add_header Expect-CT "enforce; max-age=3600";
9 9
 add_header Referrer-Policy "no-referrer";
10 10
 
11 11
 gzip on;
12
+gzip_vary on;
13
+gzip_proxied any;
14
+gzip_comp_level 6;
15
+gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

Loading…
取消
儲存