]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add another example to the trusted_domains config
authorLukas Reschke <lukas@statuscode.ch>
Sat, 26 Apr 2014 20:37:30 +0000 (22:37 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 26 Apr 2014 20:37:30 +0000 (22:37 +0200)
Users often ask in IRC or the forum how to add another domain.
Hopefully they will be able to find it out on their own if we have an example with two domains.

config/config.sample.php

index adcc175e2fae886746d80100523c33db232d115f..12affc1c81f3a415f88336d4e519bdbdb49adf3a 100755 (executable)
@@ -54,7 +54,7 @@ $CONFIG = array(
 "proxyuserpwd" => "",
 
 /* List of trusted domains, to prevent host header poisoning ownCloud is only using these Host headers */
-'trusted_domains' => array('demo.owncloud.org'),
+'trusted_domains' => array('demo.owncloud.org', 'otherdomain.owncloud.org'),
 
 /* Theme to use for ownCloud */
 "theme" => "",