Add missing '$enableStaticAssets'; add ability to strip other subdomains from url