comments for https

This commit is contained in:
Фролов 2021-12-23 18:07:00 +05:00
parent 9233b45966
commit a8e1c4bd06

View File

@ -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": "<path to .pem/.crt file>",
// "KeyPath": "<path to .key file>",
// "Password": "<certificate password>"
// }
// }
// }
//}
}