max body size to nginx

This commit is contained in:
janson 2024-04-09 15:27:17 +08:00
parent 319d5b3f89
commit d229b7f276
2 changed files with 5 additions and 1 deletions

View File

@ -6,4 +6,6 @@ Define a system base iStoreOS by yourself.
* ./runmynas.sh x86_64
* ./runmynas.sh rk35xx
* ./runmynas.sh rk33xx

View File

@ -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;