···3131 /// - TODO: a rate-limiter will be installed
3232 #[arg(long)]
3333 host: Option<String>,
3434+ /// a location to cache acme https certs
3535+ ///
3636+ /// only used if --host is specified. omitting requires re-requesting certs
3737+ /// on every restart, and letsencrypt has rate limits that are easy to hit.
3838+ ///
3939+ /// recommended in production, but mind the file permissions.
4040+ #[arg(long)]
4141+ certs: Option<PathBuf>,
3442}
35433644#[tokio::main]
···9199 identity,
92100 repo,
93101 args.host,
102102+ args.certs,
94103 server_shutdown,
95104 )
96105 .await?;