89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
{
|
|
"EnableSwagger": true,
|
|
"EnableTestControllers": true,
|
|
"DetailedErrors": true,
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning"
|
|
}
|
|
},
|
|
"PSPDFKitLicenseKey": null,
|
|
/* The first format parameter {0} will be replaced by the nonce value. */
|
|
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'nonce-{0}'; style-src 'self' 'nonce-{0}'; img-src 'self' data: https:; font-src 'self'; connect-src 'self' wss://localhost:44385 ws://localhost:61446; frame-src 'self'; media-src 'self'; object-src 'self';",
|
|
"AdminPassword": "dd",
|
|
"AllowedOrigins": [ "https://localhost:7202", "https://digitale.unterschrift.wisag.de/" ],
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"Jwt": {
|
|
"Issuer": null,
|
|
"Audience": null,
|
|
"Key": "8RGnd7x0G2TYLOIW4m_qlIls7MfbAIGNrpQJzMAUIvULHOLiG723znRa_MG-Z4yw3SErusOU4hTui2rVBMcCaQ"
|
|
},
|
|
"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"
|
|
},
|
|
/* Resx naming format is -> Resource.language.resx (eg: Resource.de_DE.resx).
|
|
To add a new language, first you should write the required resx file.
|
|
first is the default culture name. */
|
|
"Languages": [ "de_DE", "en_US" ],
|
|
"DisableMultiLanguage": true
|
|
} |