From d229b7f27668ccc745463bdda469e5d882bf9c89 Mon Sep 17 00:00:00 2001 From: janson Date: Tue, 9 Apr 2024 15:27:17 +0800 Subject: [PATCH] max body size to nginx --- README.md | 2 ++ files/all/etc/nginx/uci.conf.template | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0629e21..c23591e 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,6 @@ Define a system base iStoreOS by yourself. * ./runmynas.sh x86_64 * ./runmynas.sh rk35xx +* ./runmynas.sh rk33xx + diff --git a/files/all/etc/nginx/uci.conf.template b/files/all/etc/nginx/uci.conf.template index aec2556..0f5d112 100644 --- a/files/all/etc/nginx/uci.conf.template +++ b/files/all/etc/nginx/uci.conf.template @@ -18,7 +18,9 @@ http { default_type application/octet-stream; sendfile on; - client_max_body_size 256M; + proxy_request_buffering off; + proxy_http_version 1.1; + client_max_body_size 0; large_client_header_buffers 4 32k; gzip on;