diff options
author | Johannes Ernst <jernst@indiecomputing.com> | 2016-07-07 16:23:20 +0000 |
---|---|---|
committer | Johannes Ernst <jernst@indiecomputing.com> | 2016-07-07 16:23:20 +0000 |
commit | c2309f1bcd5469e44fb5902bc62b55f439deba52 (patch) | |
tree | fa6e413d7fb39180f6f3602f208b16c81157c962 /config | |
parent | 66a134e69e45cfe507c19983760035a3beb48f8a (diff) | |
download | nextcloud-server-c2309f1bcd5469e44fb5902bc62b55f439deba52.tar.gz nextcloud-server-c2309f1bcd5469e44fb5902bc62b55f439deba52.zip |
Extended documentation on trusted_domains to cover ports and wildcards.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 6 |
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 ( |