Temp remove max file size changes

This commit is contained in:
Evie Litherland-Smith 2023-08-30 07:37:40 +01:00
parent 9d56ba6c47
commit 0b1e985966

View file

@ -1,8 +1,4 @@
{
pkgs,
config,
...
}: {
{ pkgs, config, ... }: {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud27;
@ -12,7 +8,7 @@
adminpassFile = "/secrets/nextcloud_admin.txt";
};
extraOptions = {
trusted_proxies = ["192.168.1.230"];
trusted_proxies = [ "192.168.1.230" ];
overwriteprotocol = "https";
};
phpOptions = {
@ -28,18 +24,18 @@
"opcache.revalidate_freq" = "1";
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
short_open_tag = "Off";
upload_max_filesize = "16G";
post_max_size = "16G";
# upload_max_filesize = "16G";
# post_max_size = "16G";
max_input_time = "3600";
max_execution_time = "3600";
};
extraApps = with pkgs.nextcloud26Packages.apps; {inherit calendar contacts bookmarks;};
extraApps = with pkgs.nextcloud26Packages.apps; {
inherit calendar contacts bookmarks;
};
extraAppsEnable = true;
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [
{
addr = "localhost";
port = 8000;
}
];
services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [{
addr = "localhost";
port = 8000;
}];
}