fuuko/paperless: Allow larger file uploads
This commit is contained in:
parent
1f7885ebd8
commit
a9dab10975
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue