From 026e010590b9e09925069587f436ef33d2229305 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 27 Apr 2024 14:10:04 -0700 Subject: [PATCH] raise max upload size nginx defaults to 1mb client_max_body_size which is very limiting for the large POSTs that PAUSE requires. Raise to 250mb, which is a little larger than the largest files. Note: an upload of a 200mb file failed, but in Plack/mojo, not nginx as before. An upload of 25mb (bigger than the average perl5 release) was fine. --- bootstrap/selfconfig-root | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/selfconfig-root b/bootstrap/selfconfig-root index 40d56b9bd..fd96a9513 100755 --- a/bootstrap/selfconfig-root +++ b/bootstrap/selfconfig-root @@ -286,6 +286,8 @@ upstream pause { server { listen 80 default_server; + client_max_body_size 250m; + location / { proxy_pass http://pause; proxy_set_header X-Forwarded-Host \$host;