Merge pull request #635 from genebean/nextcloud_uploads

fix timouts assembling large uploaded files
This commit is contained in:
Gene Liverman 2026-05-11 23:51:43 -04:00 committed by GitHub
commit 3f83cff558
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -278,10 +278,16 @@ in
# inherit calendar contacts cookbook maps notes tasks; # inherit calendar contacts cookbook maps notes tasks;
#}; #};
#extraAppsEnable = true; #extraAppsEnable = true;
fastcgiTimeout = 3600;
home = "/orico/nextcloud"; home = "/orico/nextcloud";
https = true; https = true;
maxUploadSize = "100G"; # Increase the PHP maximum file upload size maxUploadSize = "100G"; # Increase the PHP maximum file upload size
phpOptions."opcache.interned_strings_buffer" = "16"; # Suggested by Nextcloud's health check. phpOptions = {
"max_execution_time" = "3600";
"max_input_time" = "3600";
"opcache.interned_strings_buffer" = "16"; # Suggested by Nextcloud's health check.
"upload_tmp_dir" = "/orico/nextcloud/php-upload-tmp";
};
settings = { settings = {
default_phone_region = "US"; default_phone_region = "US";
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#enabledpreviewproviders # https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#enabledpreviewproviders