From 728a857d69398679fb2b5d836fac60f24d3fefdd Mon Sep 17 00:00:00 2001 From: chengliejian <284067032@qq.com> Date: Tue, 11 Feb 2025 15:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AFnginx=E9=9D=99=E6=80=81?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=8E=8B=E7=BC=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/docker/nginx/conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/script/docker/nginx/conf/nginx.conf b/script/docker/nginx/conf/nginx.conf index 3c79d97f6..761bffa16 100644 --- a/script/docker/nginx/conf/nginx.conf +++ b/script/docker/nginx/conf/nginx.conf @@ -14,6 +14,7 @@ http { keepalive_timeout 65; # 限制body大小 client_max_body_size 100m; + gzip_static on; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" '