Toggle environment configuration based on url hostname patterns.