def using_reverseproxy(config):
        """
        Returns True if we are using a reverse proxy
        (config.http_endpoint != config.https_endpoint), False
        otherwise.
        """
        return not (config.http_endpoint == config.https_endpoint)