adds auto configuration for ALLOWED_HOSTS
adds regex domain matching support