)] csp_origin: Option, #[arg( long, help = "Listen on for incoming HTTP requests. [default: 80]." )] http_port: Option, #[arg( long, group = "port", help = "Listen on for incoming HTTPS requests. [default: 443]." )] https_port: Option, #[arg(long, help = "Store ACME TLS certificates in .")] acme_cache: Option, #[arg(long, help = "Provide ACME contact .")] acme_contact: Vec, #[arg(long, help = "Serve HTTP traffic on .")] http: bool, #[arg(long, help = "Serve HTTPS traffic on .")] https: bool, #[arg(long, help = "Redirect HTTP traffic to HTTPS.")] redirect_http_to_https: bool, #[arg(long, short = 'j', help = "Enable JSON API.")] pub(crate) enable_json_api: bool, } impl Server { pub(crate) fn run(self, options: Options, index: Arc, handle: Handle) -> SubcommandResult { Runtime::new()?.block_on(async { let index_clone = index.clone();