]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Remove test code
[friendica.git] / static / defaults.config.php
index 6ea80515b9647c5f8b21ac161a28aaec75aff36f..01cd24f04b3a3c9ead7aa2d74f8c30bb9d0867a6 100644 (file)
@@ -122,6 +122,16 @@ return [
                // Cache avatar pictures as files (experimental)
                'avatar_cache' => false,
 
+               // avatar_cache_path (String)
+               // File path to the avatar cache. Default is /(your basepath)/avatar/
+               // The value has to be an absolute path and has to end with a "/"
+               'avatar_cache_path' => '',
+
+               // avatar_cache_url (String)
+               // Base URL of the avatar cache. Default is http(s)://(your hostname)/avatar/
+               // The value has to start with the scheme and end with a "/"
+               'avatar_cache_url' => '',
+
                // big_emojis (Boolean)
                // Display "Emoji Only" posts in big.
                'big_emojis' => false,
@@ -154,6 +164,10 @@ return [
                // Whether to use Memcache, Memcached, Redis or APCu to store temporary cache.
                'cache_driver' => 'database',
 
+               // decoupled_receiver (Boolean)
+               // Decouple incoming AP posts by doing the processing in the background.
+               'decoupled_receiver' => false,
+
                // distributed_cache_driver (database|memcache|memcached|redis)
                // Whether to use database, Memcache, Memcached or Redis as a distributed cache.
                'distributed_cache_driver' => 'database',
@@ -406,6 +420,10 @@ return [
                // Maximum number of concurrent database processes for foreground tasks.
                'max_processes_frontend' => 20,
 
+               // max_recursion_depth (Integer)
+               // Maximum recursion depth when fetching posts until the job is delegated to a worker task.
+               'max_recursion_depth' => 10,
+
                // maximagesize (Integer)
                // Maximum size in bytes of an uploaded photo.
                'maximagesize' => 800000,
@@ -622,6 +640,17 @@ return [
                // Timeout in seconds for fetching the XRD links and other requests with an expected shorter timeout
                'xrd_timeout' => 20,
        ],
+       'proxy' => [
+               // forwarded_for_headers (String)
+               // A comma separated list of all allowed header values to retrieve the real client IP
+               // The headers are evaluated in order.
+               'forwarded_for_headers' => 'HTTP_X_FORWARDED_FOR',
+
+               // trusted_proxies (String)
+               // A comma separated list of all trusted proxies, which will get skipped during client IP retrieval
+               // IP ranges and CIDR notations are allowed
+               'trusted_proxies' => '',
+       ],
        'experimental' => [
                // exp_themes (Boolean)
                // Show experimental themes in user settings.
@@ -645,8 +674,20 @@ return [
                // Logs every call to /inbox as a JSON file in Friendica's temporary directory
                'ap_inbox_log' => false,
 
+               // ap_inbox_store_untrusted (Boolean)
+               // Store untrusted content in the inbox entries
+               'ap_inbox_store_untrusted' => false,
+
                // total_ap_delivery (Boolean)
                // Deliver via AP to every possible receiver and we suppress the delivery to these contacts with other protocols
                'total_ap_delivery' => false,
+
+               // ap_log_unknown (Boolean)
+               // Logs every unknown ActivityPub activity
+               'ap_log_unknown' => false,
+
+               // ap_log_failure (Boolean)
+               // Logs every ActivityPub activity that couldn't be compacted
+               'ap_log_failure' => false,
        ]
 ];