nginx: client_max_body_size is global

This commit is contained in:
ed
2026-03-21 21:18:32 +00:00
parent bb92ce5fc8
commit 311eb698a0

View File

@@ -75,9 +75,8 @@ server {
# recommendation: replace cpp_tcp with cpp_uds below
proxy_pass http://cpp_tcp;
proxy_redirect off;
# disable buffering (next 4 lines)
# disable buffering (next 3 lines)
proxy_http_version 1.1;
client_max_body_size 0;
proxy_buffering off;
proxy_request_buffering off;
# improve download speed from 600 to 1500 MiB/s