fuuko/paperless: Allow larger file uploads

This commit is contained in:
Simon Bruder 2024-09-22 19:02:39 +02:00
parent 1f7885ebd8
commit a9dab10975
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -45,6 +45,9 @@
"/" = { "/" = {
proxyPass = with config.services.paperless; "http://${address}:${toString port}"; proxyPass = with config.services.paperless; "http://${address}:${toString port}";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = ''
client_max_body_size 500M;
'';
}; };
"/static".root = "${config.services.paperless.package}/lib/paperless-ngx"; "/static".root = "${config.services.paperless.package}/lib/paperless-ngx";
}; };