def METHOD_NAME(configDict):
    """
    return the proxy defintion from the configuartion
    :param configDict:
    :return: the proxy definition dict like {https: 'https_proxy' ..}
    """
    if "proxy" not in configDict:
        return None
    proxy_conf = configDict["proxy"]
    # verify the url scheme
    parsed_url = urlparse(proxy_conf)
    if parsed_url.scheme not in ["http", "https"]:
        raise http_requests.exceptions.InvalidSchema(proxy_conf)
    if parsed_url.path and parsed_url.path != "/":
        raise http_requests.exceptions.InvalidSchema(proxy_conf)
    if not proxy_conf:
        return None
    proxy = {}
    if proxy_conf.startswith("https:"):
        proxy["https"] = proxy_conf
    else:
        proxy["http"] = proxy_conf
    return proxy