Try adding proxy_request_buffering clause

This commit is contained in:
niten 2024-05-22 21:40:28 -07:00
parent c00436247a
commit f33b1b79fb
1 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,10 @@ in {
forceSSL = false; forceSSL = false;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:${toString cfg.port}"; proxyPass = "http://127.0.0.1:${toString cfg.port}";
extraConfig = "client_max_body_size 500M;"; extraConfig = ''
client_max_body_size 500M;
proxy_request_buffering off;
'';
recommendedProxySettings = true; recommendedProxySettings = true;
}; };
}); });