...
This section contains another JSON object named "LogLevel", which defines the level of detail of the log outputs. The property "Default" contains the standard setting, other existing properties define different settings for certain .NET namespaces. The following values are supported for the level of detail: "Trace", "Debug", "Information", "Warning" and "Error".
Example:
...
}, "loggingLogging": {
"LogLevel": {
"defaultDefault": "informationInformation",
"IdentityServer4": "Warning",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "informationInformation"
}
},
...
If required, the level of detail can be specified depending on the logging target (console, event log, etc.). Further information can be found under the following link:
...
This section provides configurations for the Connect Server's built-in Identity Server used for authenticating users. The default configuration is useful for development environments or for closed networks since it does not require any additional adjustments. However, if the Connect Server is to be accessible via the Internet, these settings should be adapted. More information about this can be found at the following link:
...
Example:
...
"IdentityServer": {
}, "keyKey": {
"typeType": "developmentDevelopment"
},
"clientsClients": {.
"GalileoGroup.Connect.Server.Frontend": {
"Profile": "IdentityServerSPA"
}
}
},
...
The “AllowedHosts” section (JSON value of type String)
...
If a value with the name "AutoCreate" and the value "true" is created within the "Key" section, then, if the referenced certificate file does not exist, a self-signed certificate is generated at startup. This behavior is primarily intended to allow the server to start without manual configuration changes.
Example:
...
"IdentityServer": {
}, "keyKey": {
{ "typeType": "fileFile",
"FilePath": "connect.pfx",
"Password": "Connect!",
"AutoCreate": true
},
...
If there is no file with the name "connect.pfx" in the directory specified under "CertificatePath", a self-signed certificate is created at startup and stored using this name. The password "Connect!" specified here is used for the encryption of the private key.
...
The following example shows the possible Connect-specific configuration settings:
...
}, "connectConnect": {
}, "serverServer": {
"BaserUri": "connect.mycompany.com",
}, "debugDebug": {
"EnableHttpRequestLogging": false
},
}, "passwordsPasswords": {
"EnableEncryption": false,
"EncryptionAlgorithm": "None",
"EncryptionKey": ""
},
}, "pathsPaths": {
}, "applicationpathApplicationPath": "auto",
"CertificatePath": "{ApplicationPath}/Certificates",
"RepositoryPath": "{ApplicationPath}/Repositories"
},
}, "databaseDatabase": {
}, "identityIdentity": {
{ "typeType": "sqliteSqlite",
"ConnectionString": "Data Source={RepositoryPath}/identity.db",
"LogLevel": "Error",
"EnableSensitiveDataLogging": false,
"EnableDetailedErrors": false
},
{ "monitoringMonitoring".: {
{ "typeType": "sqliteSqlite",
"ConnectionString": "Data Source={RepositoryPath}/monitoring.db",
"LogLevel": "Error",
"EnableSensitiveDataLogging": false,
"EnableDetailedErrors": false
},
{ "operationsOperations".: {
{ "typeType": "sqliteSqlite",
"ConnectionString": "Data Source={RepositoryPath}/operations.db",
"LogLevel": "Error",
"EnableSensitiveDataLogging": false,
"EnableDetailedErrors": false
}
},
}, "supportedlanguagesSupportedLanguages": [ "ende", "en", "it", "es", "fr", "nl" ]
}, "web serverWebserver": {
{ "typeType": "kestrelKestrel",
"RootPath": "{ApplicationPath}/wwwroot",
}, "endpointsEndpoints": [
{
"Uri": "http://*:8080"
},
{
"Uri": "https://*:8443",
"CertificateSource": "certificate.pfx|"
}
]
}
}
}
...
Overriding configuration settings
...