add appsettings.sub.json example
parent
d82ecf22dc
commit
a3028349fb
63
example/appsettings.Sub-1.json
Normal file
63
example/appsettings.Sub-1.json
Normal file
@ -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
|
||||
}
|
||||
}
|
||||
}
|
63
example/appsettings.Sub-2.json
Normal file
63
example/appsettings.Sub-2.json
Normal file
@ -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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user