]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
include suggested changes
[friendica.git] / static / defaults.config.php
index 6ea80515b9647c5f8b21ac161a28aaec75aff36f..8b2b223f6f2a4c6815e456098db93c4134e35014 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,
@@ -622,6 +632,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.