92 lines
2.5 KiB
JSON
92 lines
2.5 KiB
JSON
{
|
|
"DetailedErrors": true,
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning"
|
|
}
|
|
},
|
|
"AdminPassword": "dd",
|
|
"AllowedOrigins": [ "https://localhost:7202" ],
|
|
"NLog": {
|
|
"throwConfigExceptions": true,
|
|
"targets": {
|
|
"infoLogs": {
|
|
"type": "File",
|
|
"fileName": "E:\\EnvelopeGenerator\\Logs\\${shortdate}-ECM.EnvelopeGenerator.Web-Info.log",
|
|
"maxArchiveDays": 30
|
|
},
|
|
"errorLogs": {
|
|
"type": "File",
|
|
"fileName": "E:\\EnvelopeGenerator\\Logs\\${shortdate}-ECM.EnvelopeGenerator.Web-Error.log",
|
|
"maxArchiveDays": 30
|
|
},
|
|
"criticalLogs": {
|
|
"type": "File",
|
|
"fileName": "E:\\EnvelopeGenerator\\Logs\\${shortdate}-ECM.EnvelopeGenerator.Web-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"
|
|
},
|
|
{
|
|
"logger": "EnvelopeGenerator.Web.Controllers.*",
|
|
"minLevel": "Error",
|
|
"writeTo": "errorLogs",
|
|
"final": true
|
|
}
|
|
|
|
]
|
|
},
|
|
"AddTestControllers": true,
|
|
"Jwt": {
|
|
"Issuer": "https://localhost:7202",
|
|
"Audience": "https://localhost:7202",
|
|
"Key": "8RGnd7x0G2TYLOIW4m_qlIls7MfbAIGNrpQJzMAUIvULHOLiG723znRa_MG-Z4yw3SErusOU4hTui2rVBMcCaQ"
|
|
},
|
|
"AuthCookieConfig": {
|
|
"HttpOnly": true,
|
|
"SecurePolicy": 1
|
|
|
|
},
|
|
"CookieConsentSettings": {
|
|
"PrivacyPolicyUrl": "./privacy-policy.en.html",
|
|
"LegalNoticeUrl": "./cookies-policy.en.html",
|
|
"ContentURL": "/cookie-consent-content",
|
|
"ButtonAgreeClass": "btn btn-primary",
|
|
"ButtonDontAgreeClass": "btn btn-link text-decoration-none none-display",
|
|
"ButtonSaveClass": "btn btn-secondary none-display",
|
|
"Lang": "de",
|
|
"DefaultLang": "en",
|
|
"CookieName": "cookie-consent-settings",
|
|
"CookieStorageDays": 1,
|
|
"ModalId": "bootstrapCookieConsentSettingsModal",
|
|
"AlsoUseLocalStorage": false,
|
|
"Categories": [ "necessary" ]
|
|
},
|
|
"ContactLink": {
|
|
"Label": "Kontakt",
|
|
"Href": "https://digitaldata.works/",
|
|
"HrefLang": "de",
|
|
"Target": "_blank",
|
|
"Title": "Digital Data GmbH"
|
|
}
|
|
} |