117 lines
3.5 KiB
JSON
117 lines
3.5 KiB
JSON
{
|
|
"EnableSwagger": true,
|
|
"EnableTestControllers": true,
|
|
"DetailedErrors": true,
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning"
|
|
}
|
|
},
|
|
"Config": {
|
|
"ConnectionString": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;",
|
|
"LogPath": "E:\\EnvelopeGenerator\\Logs",
|
|
"LogDebug": true,
|
|
"LogJson": true,
|
|
"AdminPassword": "dd"
|
|
},
|
|
"PSPDFKitLicenseKey": null,
|
|
/* The first format parameter {0} will be replaced by the nonce value. */
|
|
"TestCSP": false,
|
|
"Content-Security-Policy": [
|
|
"default-src 'self'",
|
|
"script-src 'self' 'nonce-{0}' 'unsafe-inline' 'unsafe-eval' blob: data:",
|
|
"style-src 'self' 'unsafe-inline'",
|
|
"img-src 'self' data: https: blob:",
|
|
"font-src 'self'",
|
|
"connect-src 'self' http://localhost:* https://localhost:* ws://localhost:* wss://localhost:* blob:",
|
|
"frame-src 'self'",
|
|
"media-src 'self'",
|
|
"object-src 'self'",
|
|
"worker-src 'self' blob: data:"
|
|
],
|
|
"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. */
|
|
"Cultures": [
|
|
{
|
|
"Language": "de-DE",
|
|
"FIClass": "fi-de"
|
|
},
|
|
{
|
|
"Language": "en-US",
|
|
"FIClass": "fi-us"
|
|
}
|
|
],
|
|
"DisableMultiLanguage": false
|
|
} |