feat: nginx max file size to 20M

This commit is contained in:
louis 2024-03-27 16:27:16 +08:00
parent a1cf5fc468
commit 4d20e39158
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ events {
http { http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
default_type application/octet-stream; default_type application/octet-stream;
client_max_body_size 20m;
map $time_iso8601 $logdate { map $time_iso8601 $logdate {
'~^(?<ymd>\d{4}-\d{2}-\d{2})' $ymd; '~^(?<ymd>\d{4}-\d{2}-\d{2})' $ymd;
default 'date-not-found'; default 'date-not-found';