pub fn axum_acceptor(
home: PathBuf,
domain: String,
production_api: bool,
) -> (AxumAcceptor, impl Future<Output = Result<(), Error>>)Expand description
Use ACME to resolve certificates and handle new connections.
This returns a tuple containing an AxumAcceptor that may be used with axum_server, and
a Future that represents the background task to poll and log for changes in the
certificate environment.