Temp remove max file size changes
This commit is contained in:
parent
9d56ba6c47
commit
0b1e985966
|
@ -1,8 +1,4 @@
|
||||||
{
|
{ pkgs, config, ... }: {
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud27;
|
package = pkgs.nextcloud27;
|
||||||
|
@ -12,7 +8,7 @@
|
||||||
adminpassFile = "/secrets/nextcloud_admin.txt";
|
adminpassFile = "/secrets/nextcloud_admin.txt";
|
||||||
};
|
};
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
trusted_proxies = ["192.168.1.230"];
|
trusted_proxies = [ "192.168.1.230" ];
|
||||||
overwriteprotocol = "https";
|
overwriteprotocol = "https";
|
||||||
};
|
};
|
||||||
phpOptions = {
|
phpOptions = {
|
||||||
|
@ -28,18 +24,18 @@
|
||||||
"opcache.revalidate_freq" = "1";
|
"opcache.revalidate_freq" = "1";
|
||||||
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
|
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
|
||||||
short_open_tag = "Off";
|
short_open_tag = "Off";
|
||||||
upload_max_filesize = "16G";
|
# upload_max_filesize = "16G";
|
||||||
post_max_size = "16G";
|
# post_max_size = "16G";
|
||||||
max_input_time = "3600";
|
max_input_time = "3600";
|
||||||
max_execution_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;
|
extraAppsEnable = true;
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [
|
services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [{
|
||||||
{
|
addr = "localhost";
|
||||||
addr = "localhost";
|
port = 8000;
|
||||||
port = 8000;
|
}];
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue