delete past config
separate router from svr config