117 lines
4.3 KiB
JSON
117 lines
4.3 KiB
JSON
{
|
|
"DiPMode": false, //Please be careful when enabling Development in Production (DiP) mode. It allows Swagger and test controllers to be enabled in a production environment.
|
|
"EnableSwagger": true,
|
|
"EnableTestControllers": true,
|
|
"DetailedErrors": true,
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"Default": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;"
|
|
},
|
|
"AdminPassword": "dd",
|
|
"PSPDFKitLicenseKey_SignFlow": "y8VgCpBgUfNlpKJZC-GwjpPs-S-KFBHv4RywfHbqpBAbO0XxRuWDaMGZtIaMrXBDlndlJLk---Ve93xjI_ZR4sbFymf4Ot97yTYUMeDdL2LYXhspkEnSAtkXf9zqepNL1v_0DMibjpqXFQMkVB1y3D5xdnOg-iJuCCZEMhZ780qg04_H_nmx63uSgxjN0GJxC8YvsbnRcUZ2l_idImMvWL0HMqB5B7oEpNenasA0RK0uapFRTa7NIQok0phpTHZYKB4qvj7od2yxlytGB7qBl4-lwT70DSQ9mrLkCWbuzZ9cV9D8fDzdFXr6WoZdOYpkrUadRbsy2bhPq_ukxszDWN4JGhebo0XKUK_YfgvSlS7lFOxHNblHeC9B7gZ8T-VuQ_z1QA2JYRf1dmhSuclnW00diShIg-N0I79PWGsQE4j40XtVpyWcN9uT9hMuiRpL0LzHV4YgsgBrgKgs_moqL7f0L4-MwaS25Dx4Wcz4ttKaerLavwMM4CJHI3DNqTC5UUEG6EViFxBQtrmuAS7kiw2nWjvXO7kUA24NARtsRCphjWE4l6wSMdh7kpqhfbV7_hdb5xXYGALNPkv8En6zPpFIew8DDcOH9dgxfKMI34LLhkEWqovZW_7fXNJTEIHVpR0DSPbZrmyEwkECnbDcNzjyFk2M1fzstJj_dSotyZvS57XJK2DgojbRgXL9pncs",
|
|
"UseCSPInDev": false,
|
|
"Content-Security-Policy": [ // The first format parameter {0} will be replaced by the nonce value.
|
|
"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:"
|
|
],
|
|
"AllowedOrigins": [ "https://localhost:7202", "https://digitale.unterschrift.wisag.de/" ],
|
|
"NLog": {
|
|
"throwConfigExceptions": true,
|
|
"variables": {
|
|
"logDirectory": "E:\\EnvelopeGenerator\\Logs",
|
|
"logFileNamePrefix": "${shortdate}-ECM.EnvelopeGenerator.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"
|
|
}
|
|
]
|
|
},
|
|
"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
|
|
} |