use Config::base() instead of $domain to add https prefix if appropriate