Nextcloud: Difference between revisions

imported>A-m-s
Maintenance: Database access recipe.
imported>Onny
use correct option for setting maxuploadsize
Line 142: Line 142:
=== Max upload file size ===
=== Max upload file size ===


To increase the maximum upload file size, for example to 1 GB, add following parameters to the <code>phpOptions</code> option of the Nextcloud module
To increase the maximum upload file size, for example to 1 GB, add following option


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.nextcloud = {
services.nextcloud.maxUploadSize = "1G";
  [...]
  phpOptions = {
    upload_max_filesize = "1G";
    post_max_size = "1G";
  };
};
</nowiki>}}
</nowiki>}}