Proxy : Disable limit for file downloads.
This commit is contained in:
parent
342a8ee7f4
commit
cc32fa73a4
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue