Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJohannes Ernst <jernst@indiecomputing.com>2016-07-07 19:23:20 +0300
committerJohannes Ernst <jernst@indiecomputing.com>2016-07-07 19:23:20 +0300
commitc2309f1bcd5469e44fb5902bc62b55f439deba52 (patch)
treefa6e413d7fb39180f6f3602f208b16c81157c962 /config
parent66a134e69e45cfe507c19983760035a3beb48f8a (diff)
Extended documentation on trusted_domains to cover ports and wildcards.
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 6285e096ba7..14bc4eac890 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -58,6 +58,12 @@ $CONFIG = array(
* Your list of trusted domains that users can log into. Specifying trusted
* domains prevents host header poisoning. Do not remove this, as it performs
* necessary security checks.
+ * You can specify:
+ * - the exact hostname of your host or virtual host, e.g. demo.example.org.
+ * - the exact hostname with permitted port, e.g. demo.example.org:443.
+ * This disallows all other ports on this host
+ * - use * as a wildcard, e.g. ubos-raspberry-pi*.local will allow
+ * ubos-raspberry-pi.local and ubos-raspberry-pi-2.local
*/
'trusted_domains' =>
array (