Increase nginx client_max_body_size to 100G

This commit is contained in:
Joshua Bell 2026-02-09 09:48:24 -06:00
parent f3557fbc8e
commit 33e757fedb
2 changed files with 7 additions and 1 deletions

View file

@ -96,7 +96,7 @@ in
sslCertificate = "/var/lib/acme/joshuabell.xyz/fullchain.pem"; sslCertificate = "/var/lib/acme/joshuabell.xyz/fullchain.pem";
sslCertificateKey = "/var/lib/acme/joshuabell.xyz/key.pem"; sslCertificateKey = "/var/lib/acme/joshuabell.xyz/key.pem";
extraConfig = '' extraConfig = ''
client_max_body_size 50G; client_max_body_size 100G;
proxy_read_timeout 600s; proxy_read_timeout 600s;
proxy_send_timeout 600s; proxy_send_timeout 600s;
send_timeout 600s; send_timeout 600s;

View file

@ -261,6 +261,9 @@ in
locations."/" = { locations."/" = {
proxyWebsockets = true; proxyWebsockets = true;
proxyPass = "http://100.64.0.13"; proxyPass = "http://100.64.0.13";
extraConfig = ''
client_max_body_size 50G;
'';
}; };
}; };
"photos.joshuabell.xyz" = { "photos.joshuabell.xyz" = {
@ -269,6 +272,9 @@ in
locations."/" = { locations."/" = {
proxyWebsockets = true; proxyWebsockets = true;
proxyPass = "http://100.64.0.13"; proxyPass = "http://100.64.0.13";
extraConfig = ''
client_max_body_size 100G;
'';
}; };
}; };
"llm.joshuabell.xyz" = { "llm.joshuabell.xyz" = {