mirror of
https://github.com/9001/copyparty.git
synced 2026-04-12 23:32:32 -06:00
nginx: client_max_body_size is global
This commit is contained in:
parent
bb92ce5fc8
commit
311eb698a0
|
|
@ -75,9 +75,8 @@ server {
|
||||||
# recommendation: replace cpp_tcp with cpp_uds below
|
# recommendation: replace cpp_tcp with cpp_uds below
|
||||||
proxy_pass http://cpp_tcp;
|
proxy_pass http://cpp_tcp;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
# disable buffering (next 4 lines)
|
# disable buffering (next 3 lines)
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
client_max_body_size 0;
|
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
# improve download speed from 600 to 1500 MiB/s
|
# improve download speed from 600 to 1500 MiB/s
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue