HiNC-Manager-Win/Doc/example/appsettings.Sub-1.json
2024-11-19 07:36:37 +08:00

64 lines
1.3 KiB
JSON

{
"DetailedErrors": true,
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:3301"
},
//"Https": {
// "Url": "https://xxxx.xxxx.xxxx:4301",
// "Certificate": {
// "Subject": "xxxx.xxxx.xxxx",
// "Store": "WebHosting",
// "AllowInvalid": true
// }
//},
"Grpc": {
"Protocols": "Http2",
"Url": "http://localhost:5301"
}
}
},
"HiNC": {
"CacheDbId": "Sub-1",
"DatabasePort": 28001,
"AdminDirectory": "../HiNC-Root",
"OptCoreNum": 0,
"Users": [
{
"Name": "admin",
"Pw": "00000",
"Role": "Admin",
"IsFixedUser": true
},
{
"Name": "worker",
"Pw": "111111",
"Role": "Collaborator",
"IsFixedUser": false
},
{
"Name": "guest",
"Pw": "22222",
"Role": "Guest",
"IsFixedUser": false
}
]
},
"LicenseManager": {
//Available Command: "DoNothing","AutoLicenseUpdate","GetC2V","GenV2C","ApplyV2C","WriteInfo"
"Command": "AutoLicenseUpdate",
"Server": {
"URI": "superhightech.com.tw",
"Port": 20201,
"ReceiveTimeout": 200
}
}
}