forked from ddrilling/AsbCloudServer
54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Information",
|
||
"Microsoft": "Warning",
|
||
"Microsoft.Hosting.Lifetime": "Information"
|
||
}
|
||
},
|
||
"ConnectionStrings": {
|
||
"DefaultConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True",
|
||
"DebugConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True",
|
||
"ServerConnection": "Host=192.168.1.70;Database=postgres;Username=postgres;Password=q;Persist Security Info=True",
|
||
"LocalConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True"
|
||
},
|
||
"AllowedHosts": "*",
|
||
//"userLimits": {
|
||
// "parallelRequestsToController": 5
|
||
//},
|
||
"email": {
|
||
"smtpServer": "smtp.timeweb.ru",
|
||
"sender": "bot@digitaldrilling.ru",
|
||
"password": "8wZrXSfP",
|
||
|
||
"platformName": "Цифровое бурение",
|
||
"platformUrl": "https://cloud.digitaldrilling.ru",
|
||
"companyName": "ООО \"Цифровое бурение\"",
|
||
"supportMail": "support@digitaldrilling.ru"
|
||
},
|
||
"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>"
|
||
// }
|
||
// }
|
||
// }
|
||
//}
|
||
}
|