From 09aa5f72dfa0f6cad94d554dbdb7e21f9ae65a28 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Wed, 11 Feb 2026 03:16:57 +0000 Subject: [PATCH] chore(administration): Generate system config documentation from config.sample.php --- .../config_sample_php_parameters.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index f828eed50..2f0e8c5d0 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -4479,6 +4479,20 @@ Keep this list as restrictive as possible as metrics can consume a lot of resour Default to ``[127.0.0.0/16', '::1/128]`` (allow loopback interface only) +preview_expiration_days +^^^^^^^^^^^^^^^^^^^^^^^ + + +:: + + 'preview_expiration_days' => 0, + +Delete previews older than a certain number of days to reduce storage usage. + +Less than one day is not allowed, so set it to 0 to disable the deletion. + +Defaults to ``0``. + .. ALL_OTHER_SECTIONS_END .. Generated content above. Don't change this.