From a8e1c4bd06ff5c32fb434424db9d3a1eda98313b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Thu, 23 Dec 2021 18:07:00 +0500 Subject: [PATCH] comments for https --- AsbCloudWebApi/appsettings.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/AsbCloudWebApi/appsettings.json b/AsbCloudWebApi/appsettings.json index c6642087..90d8a207 100644 --- a/AsbCloudWebApi/appsettings.json +++ b/AsbCloudWebApi/appsettings.json @@ -13,5 +13,28 @@ "LocalConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True" }, "AllowedHosts": "*", - "Urls": "http://0.0.0.0:5000;https://0.0.0.0:5001" + "Urls": "http://0.0.0.0:5000;https://0.0.0.0:5001" //, + // See https man: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-6.0 + //"Kestrel": { + // "Endpoints": { + // "Http": { + // "Url": "http://0.0.0.0:5000" + // }, + // "Https": { + // "Url": "https://0.0.0.0:5001", + // "Certificate": { + // // use store + // "Subject": "localhost", + // "Store": "My", + // "Location": "CurrentUser", + // "AllowInvalid": true + + // // use file + // "Path": "", + // "KeyPath": "", + // "Password": "" + // } + // } + // } + //} }