89 lines
2.7 KiB
JSON
89 lines
2.7 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"UM_DEF": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=g+2edXEbMbujCUjh7INZRQ==;Password=Bz/n9pu8EyzlVqicaMRQGQ==;Encrypt=false;TrustServerCertificate=True;"
|
|
},
|
|
"AllowedOrigins": [ "https://localhost:7103", "http://172.24.12.39:85", "http://localhost:85", "http://localhost:4200", "http://localhost:5500", "https://localhost:7202" ],
|
|
"RunAsWindowsService": false,
|
|
"DirectorySearchOptions": {
|
|
"ServerName": "DD-VMP01-DC01",
|
|
"Root": "DC=dd-gan,DC=local,DC=digitaldata,DC=works",
|
|
"UserCacheExpirationDays": 1,
|
|
"CustomSearchFilters": {
|
|
"User": "(&(objectClass=user)(sAMAccountName=*))",
|
|
"Group": "(&(objectClass=group) (samAccountName=*))"
|
|
}
|
|
},
|
|
"Jwt": {
|
|
"Key": "pJBcBWZSjsWlhi1OlCcw6ERTMRNb7qsdvsfvdfbagdfbdfsSDGSDMhsjkfdhsdfbgkHKSDF",
|
|
"Issuer": "http://localhost:44316",
|
|
"Audience": "http://localhost:44316"
|
|
},
|
|
"NLog": {
|
|
"throwConfigExceptions": true,
|
|
"variables": {
|
|
"logDirectory": "E:\\LogFiles\\Digital Data\\WebUserManager",
|
|
"logFileNamePrefix": "${shortdate}-ECM.WebUserManager.Web"
|
|
},
|
|
"targets": {
|
|
"infoLogs": {
|
|
"type": "File",
|
|
"fileName": "${logDirectory}\\${logFileNamePrefix}-Info.log",
|
|
"maxArchiveDays": 30
|
|
},
|
|
"errorLogs": {
|
|
"type": "File",
|
|
"fileName": "${logDirectory}\\${logFileNamePrefix}-Error.log",
|
|
"maxArchiveDays": 30
|
|
},
|
|
"criticalLogs": {
|
|
"type": "File",
|
|
"fileName": "${logDirectory}\\${logFileNamePrefix}-Critical.log",
|
|
"maxArchiveDays": 30
|
|
}
|
|
},
|
|
// Trace, Debug, Info, Warn, Error and *Fatal*
|
|
"rules": [
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Info",
|
|
"maxLevel": "Warn",
|
|
"writeTo": "infoLogs"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"level": "Error",
|
|
"writeTo": "errorLogs"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"level": "Fatal",
|
|
"writeTo": "criticalLogs"
|
|
}
|
|
]
|
|
},
|
|
"EncryptionParameters": {
|
|
"Key": "JGPwHVD0BQmC7upi5OV11PzzIk47ugTJoqBV/et5w40=",
|
|
"IV": "gMuetIjlPvJnSzu+i7I3xg=="
|
|
},
|
|
"AllowedGroupName": "UM_ADMINS",
|
|
"DateTimeZoneHandling": "Local",
|
|
// Delete below in production
|
|
"UseEncryptor": true,
|
|
"UseSwagger": true,
|
|
"AuthClientParams": {
|
|
"Url": "http://172.24.12.39:9090/auth-hub",
|
|
"PublicKeys": [
|
|
{
|
|
"Issuer": "auth.digitaldata.works",
|
|
"Audience": "user-manager.digitaldata.works"
|
|
}
|
|
],
|
|
"RetryDelay": "00:00:05"
|
|
}
|
|
} |