add appsettings.sub.json example

iambossTC 2024-11-19 08:01:02 +08:00
parent d82ecf22dc
commit a3028349fb
2 changed files with 126 additions and 0 deletions

@ -0,0 +1,63 @@
{
"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
}
}
}

@ -0,0 +1,63 @@
{
"DetailedErrors": true,
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:3302"
},
//"Https": {
// "Url": "https://xxxx.xxxx.xxxx:4302",
// "Certificate": {
// "Subject": "xxxx.xxxx.xxxx",
// "Store": "WebHosting",
// "AllowInvalid": true
// }
//},
"Grpc": {
"Protocols": "Http2",
"Url": "http://localhost:5302"
}
}
},
"HiNC": {
"CacheDbId": "Sub-2",
"DatabasePort": 28002,
"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
}
}
}