Can mitmproxy terminate TLS for itself?

I want clients to connect to mitmproxy using TLS, i.e. http_proxy=https://mitmproxy.example.com/

I know mitmproxy has support for intercepting HTTPS connections through the proxy, but I’m talking about the incoming connection to the proxy. Where would I configure the certificate for this?

I see, I can use --cert=mitmproxy.example.com=/path/to/cert.pem and connect via HTTPS to the proxy