From 7f76634de1200b9a9fa03a103e155bf81b00826e Mon Sep 17 00:00:00 2001 From: Rob Wood Date: Sun, 5 May 2024 08:59:46 +0100 Subject: [PATCH] chore(docs): Document how to use TLS for HTTP (#1460) --- Rnwood.Smtp4dev/CommandLineParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rnwood.Smtp4dev/CommandLineParser.cs b/Rnwood.Smtp4dev/CommandLineParser.cs index 5c28d996a..79465a0b8 100644 --- a/Rnwood.Smtp4dev/CommandLineParser.cs +++ b/Rnwood.Smtp4dev/CommandLineParser.cs @@ -68,7 +68,7 @@ public static MapOptions TryParseCommandLine(IEnumerable { }); options.Add( - "urls=", "The URLs the web interface should listen on. For example, http://localhost:123. Use `*` in place of hostname to listen for requests on any IP address or hostname using the specified port and protocol (for example, http://*:5000). Separate multiple values with ;", data => map.Add(data, x => x.Urls)); + "urls=", "The URLs the web interface should listen on. For example, http://localhost:123. Use `*` in place of hostname to listen for requests on any IP address or hostname using the specified port and protocol (for example, http://*:5000). Separate multiple values with ;. For info about HTTPS see https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0#configure-https-in-appsettingsjson", data => map.Add(data, x => x.Urls)); options.Add( "basepath=", "Specifies the virtual path from web server root where SMTP4DEV web interface will be hosted. e.g. \"/\" or \"/smtp4dev\"", data => map.Add(data, x => x.ServerOptions.BasePath));