From 4d20e39158c300804086be963e8116890db2b8b6 Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Wed, 27 Mar 2024 16:27:16 +0800 Subject: [PATCH] feat: nginx max file size to 20M --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 1f36433..1dcc699 100644 --- a/nginx.conf +++ b/nginx.conf @@ -13,7 +13,7 @@ events { http { include /etc/nginx/mime.types; default_type application/octet-stream; - + client_max_body_size 20m; map $time_iso8601 $logdate { '~^(?\d{4}-\d{2}-\d{2})' $ymd; default 'date-not-found';