Raise nginx upload size limit to 20M

Default client_max_body_size of 1M caused 413s on typical photo uploads.
This commit is contained in:
2026-07-02 01:39:51 +02:00
parent c51539cbb4
commit 7f7a51ceb5
+1
View File
@@ -126,6 +126,7 @@ in {
proxyPass = "http://127.0.0.1:${toString cfg.port}"; proxyPass = "http://127.0.0.1:${toString cfg.port}";
basicAuth = "gallery"; basicAuth = "gallery";
basicAuthFile = cfg.nginx.htpasswdFile; basicAuthFile = cfg.nginx.htpasswdFile;
extraConfig = "client_max_body_size 20M;";
}; };
}; };
}; };