Config method to create a url.URL from the config