mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 03:11:24 +00:00
Add logs for pict-rs binds
This commit is contained in:
parent
92fd3bf2fd
commit
3a6faef5ef
1 changed files with 4 additions and 0 deletions
|
@ -2013,11 +2013,15 @@ async fn launch_file_store<F: Fn(&mut web::ServiceConfig) + Send + Clone + 'stat
|
|||
.with_no_client_auth()
|
||||
.with_cert_resolver(rx);
|
||||
|
||||
tracing::info!("Staring pict-rs with TLS on {address}");
|
||||
|
||||
server.bind_rustls_021(address, config)?.run().await?;
|
||||
|
||||
handle.abort();
|
||||
let _ = handle.await;
|
||||
} else {
|
||||
tracing::info!("Staring pict-rs on {address}");
|
||||
|
||||
server.bind(address)?.run().await?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue