Skip to main content

start_acme_background

Function start_acme_background 

Source
pub fn start_acme_background(
    domain: String,
    cert_dir: PathBuf,
    email: String,
    staging: bool,
    subdomains: Vec<String>,
)
Expand description

Start background ACME provisioning and renewal. Runs initial check after a short delay (to let proxy start), then every 24h. After provisioning/renewal, hot-reloads the proxy’s TLS config automatically. If provisioning with subdomains fails, retries with bare domain only.