summaryrefslogtreecommitdiffstats
path: root/config/config.sample.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 3951ef8db3c..3dc16870675 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -524,6 +524,12 @@ $CONFIG = array(
/**
* The URL of your proxy server, for example ``proxy.example.com:8081``.
*
+ * Note: Guzzle (the http library used by Nextcloud) is reading the environment
+ * variables HTTP_PROXY (only for cli request), HTTPS_PROXY, and NO_PROXY by default.
+ *
+ * If you configure proxy with Nextcloud any default configuration by Guzzle
+ * is overwritten. Make sure to set ``proxyexclude`` accordingly if necessary.
+ *
* Defaults to ``''`` (empty string)
*/
'proxy' => '',
@@ -536,6 +542,16 @@ $CONFIG = array(
*/
'proxyuserpwd' => '',
+/**
+ * List of host names that should not be proxied to.
+ * For example: ``['.mit.edu', 'foo.com']``.
+ *
+ * Hint: Use something like ``explode(',', getenv('NO_PROXY'))`` to sync this
+ * value with the global NO_PROXY option.
+ *
+ * Defaults to empty array.
+ */
+'proxyexclude' => [],
/**
* Deleted Items (trash bin)