aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-09 12:18:23 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-09 12:18:23 +0100
commitfdb83162ce9979184a9d680c5ec4f64235497485 (patch)
tree543d1d0b7c8f63d7a10c38d1d95c8b2e2c8a180f /src/main.rs
parent8153bdca4618eed76665eeb4c5a005378701df1f (diff)
downloadtricot-fdb83162ce9979184a9d680c5ec4f64235497485.tar.gz
tricot-fdb83162ce9979184a9d680c5ec4f64235497485.zip
Improved management of ACME orders and certificate pre-expiration period
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 1fffcbc..faffac6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,7 +5,6 @@ use futures::TryFutureExt;
use std::net::SocketAddr;
use structopt::StructOpt;
-mod tls_util;
mod cert;
mod cert_store;
mod consul;
@@ -13,6 +12,7 @@ mod http;
mod https;
mod proxy_config;
mod reverse_proxy;
+mod tls_util;
use log::*;
@@ -85,7 +85,6 @@ async fn main() {
rx_proxy_config.clone(),
opt.letsencrypt_email.clone(),
);
- tokio::spawn(cert_store.clone().watch_proxy_config().map_err(exit_on_err));
tokio::spawn(http::serve_http(opt.http_bind_addr, consul.clone()).map_err(exit_on_err));
tokio::spawn(