Move all configurations into main.php for XUrl service.