diff options
Diffstat (limited to 'config/config.sample.php')
-rw-r--r-- | config/config.sample.php | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 5bc1cc52cf0..357321f6d29 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -767,6 +767,10 @@ $CONFIG = [ * connection. If none of these hosts are reachable, the administration panel * will show a warning. Set to an empty list to not do any such checks (warning * will still be shown). + * If no protocol is provided, both http and https will be tested. + * For example, 'http://www.nextcloud.com' and 'https://www.nextcloud.com' + * will be tested for 'www.nextcloud.com' + * If a protocol is provided, only this one will be tested. * * Defaults to the following domains: * @@ -1067,9 +1071,10 @@ $CONFIG = [ 'preview_max_y' => 4096, /** - * max file size for generating image previews with imagegd (default behavior) + * Max file size for generating image previews with imagegd (default behavior). * If the image is bigger, it'll try other preview generators, but will most - * likely show the default mimetype icon. Set to -1 for no limit. + * likely either show the default mimetype icon or not display the image at all. + * Set to ``-1`` for no limit and try to generate image previews on all file sizes. * * Defaults to ``50`` megabytes */ @@ -2086,4 +2091,25 @@ $CONFIG = [ * Also, it might log sensitive data into a plain text file. */ 'ldap_log_file' => '', + +/** + * Enable diagnostics event logging + * + * If enabled the timings of common execution steps will be logged to the + * Nextcloud log at debug level. log.condition is useful to enable this on + * production systems to only log under some conditions + */ +'diagnostics.logging' => true, + +/** + * Limit diagnostics event logging to events longer than the configured threshold in ms + */ +'diagnostics.logging.threshold' => 0, + +/** + * Enable profile globally + * + * Defaults to ``true`` + */ +'profile.enabled' => true, ]; |