{ "Log": { "Type": "DEBUG", // Log type (Available: INFO, ERROR, DEBUG, CRITICAL) "Path": "c:\\tmp\\outside", // Directory, where the log files should be written "SmtpServer": "172.21.101.88", // Smtp server for mailing function "SmtpPort": 25, // Smtp port for mailing function "SmtpSSL": false, // Flag of ssl using for smtp server "SmtpUsername": null, // Please use encrypted value from PasswortEncryptor.exe "SmtpPassword": null, // Please use encrypted value from PasswortEncryptor.exe "SmtpSenderEmail": "ServiceInside@labor-stein.de", // Sender email address of mailing function "SmtpSenderName": "ServiceInside", // Sender name of mailing function "LogsRecipients": "iabetschkhrischwili@labor-stein.de", // List of recipients separated by ; to get the sent log mails from service "CustomerRequestsRecipients": "empfaenger@labor-stein.de" // List of recipients separated by ; to get the sent mails by patients from the apps }, "IpRateLimiting": { // s. manufacturer documentation https://github.com/stefanprodan/AspNetCoreRateLimit "EnableEndpointRateLimiting": true, "StackBlockedRequests": false, "RealIPHeader": "X-Real-IP", "ClientIdHeader": "X-ClientId", "HttpStatusCode": 429, "IpWhitelist": [ "127.0.0.1", "::1" ], // White list of clients to ignore by rate limiting (it should be service inside and service outside) "GeneralRules": [ { "Endpoint": "*", // Endpoint that getting blocking for next query after violeting the defined rules "Period": "1m", // Time period to limit quering "Limit": 20 // Number of queries to limit in a time period } ] }, "ServiceInsideIP": "::1", // IP of service outside to whitelist for communication (trusted header) "ServiceInsideURL": "https://localhost:444/", // URL of service inside to call api functions "ConnectionStrings": { // connection strings to database. Important its recommended to store this value as encrypted hash s. PasswordEncryptor.exe "default": "dev", // types of connection string to database "prod": "Server=myServer;Uid=myUser;Database=myDatabase;Pwd=myPassword;SSLMode=None;Charset=utf8mb4", // Please use encrypted value from PasswortEncryptor.exe "dev": "Server=127.0.0.1;Uid=PBA;Pwd=vertrigo;Database=pba;Charset=utf8mb4" }, "MaxOpenedRequest": 10, // Number of not finished results "MaxTryNotFoundResults": 2, // Number of tries to check not found results "PushNotifications": { // Certificates of push notification services for Apple and Android. "APNS": { "Type": "PRODUCTION", // Please do not change this value "BundleId": "de.labor-stein.Befund", // Please do not change this value "Cert": "C:\\\\certs\\apns.p8", // Path of apns.p8 file "KeyId": "938D85LA3G", // Please do not change this value "TeamId": "9239XBB72R" // Please do not change this value }, "GOOGLE": { "CredentialJson": "C:\\\\certs\\google_credential.json" // Path of google_credential.json file } } }