Extended documentation on trusted_domains to cover ports and wildcards.

This commit is contained in:
Johannes Ernst 2016-07-07 16:23:20 +00:00
parent 66a134e69e
commit c2309f1bcd
1 changed files with 6 additions and 0 deletions

View File

@ -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 (