Proxy : Disable limit for file downloads.

This commit is contained in:
Dmitry Voronin 2024-09-20 17:57:37 +03:00
parent 342a8ee7f4
commit cc32fa73a4
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -58,7 +58,7 @@ in {
enable = true; enable = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedProxySettings = true; recommendedProxySettings = true;
clientMaxBodySize = "1024m"; clientMaxBodySize = "4096m";
appendConfig = util.trimTabs '' appendConfig = util.trimTabs ''
worker_processes 4; worker_processes 4;
''; '';
@ -67,6 +67,9 @@ in {
''; '';
# TODO: Fix 80 redirect and 403 default. # TODO: Fix 80 redirect and 403 default.
appendHttpConfig = util.trimTabs '' appendHttpConfig = util.trimTabs ''
proxy_max_temp_file_size 0;
proxy_buffering off;
server { server {
server_name default_server; server_name default_server;
listen 80; listen 80;