Adding in better allowed hosts config.