From ddb51b86efbd0738585ee984f843be43a1cb7af4 Mon Sep 17 00:00:00 2001 From: Natalia Date: Fri, 8 Sep 2023 18:26:36 +0300 Subject: [PATCH] added the config parameters 7.5 --- .../ConfiguringDeveloper.ascx | 62 ++++++++++++++++--- 1 file changed, 54 insertions(+), 8 deletions(-) diff --git a/Web/Controls/Help/Server/DeveloperEdition/ConfiguringDeveloper.ascx b/Web/Controls/Help/Server/DeveloperEdition/ConfiguringDeveloper.ascx index 0be67df11..049d7a75f 100644 --- a/Web/Controls/Help/Server/DeveloperEdition/ConfiguringDeveloper.ascx +++ b/Web/Controls/Help/Server/DeveloperEdition/ConfiguringDeveloper.ascx @@ -906,6 +906,13 @@ string "" + + + Defines the name of the config file in the tenant folder to override default.json. It is used in the multi-tenant mode + to initialize the specific tenant settings (wopi, ipfilter, jwt secret etc.). + string + "config.json" + Defines the .pem filename where the tenant secret key is stored. @@ -955,6 +962,7 @@
"tenants": {
     "baseDir" : "",
     "baseDomain" : "",
+    "filenameConfig" : "config.json",
     "filenameSecret" : "secret.key",
     "filenameLicense" : "license.lic",
     "defaultTenant" : "localhost",
@@ -1172,6 +1180,12 @@
                         boolean
                         true
                     
+                    
+                        
+                        Defines if the signed requests for local links are allowed or not. It is used in the multi-tenant mode for server security.
+                        boolean
+                        true
+                    
                 
             
             

These parameters define the server configuration.

@@ -1204,7 +1218,8 @@ "assemblyFormatAsOrigin": true, "newFileTemplate" : "../../document-templates/new", "downloadFileAllowExt": ["pdf", "xlsx"], - "tokenRequiredParams" : true + "tokenRequiredParams" : true, + "allowPrivateIPAddressForSignedRequests" : true } } } @@ -1340,7 +1355,7 @@ - + @@ -1365,7 +1380,7 @@ Defines the supported image formats for uploading. string - "jpg;jpeg;jpe;png;gif;bmp" + "jpg;jpeg;jpe;png;gif;bmp;svg" @@ -1376,7 +1391,7 @@ "utils": { "utils_common_fontdir": "null", "utils_fonts_search_patterns": "*.ttf;*.ttc;*.otf", - "limits_image_types_upload": "jpg;jpeg;jpe;png;gif;bmp" + "limits_image_types_upload": "jpg;jpeg;jpe;png;gif;bmp;svg" } } } @@ -1532,7 +1547,7 @@ Defines the Redis server host (host name or IP address). string - "localhost" + "127.0.0.1" @@ -1546,9 +1561,30 @@ object {} + + + Defines the parameters (rootNodes, defaults, modules etc.) that can be passed directly to the node-redis clustering + library to connect to the redis cluster. This setting has the priority over the options parameter for connecting to the single redis. + object + {} + - Defines the parameters (username, password, modules etc.) that can be passed directly to the RedisOptions library. + Defines the parameters (username, password, modules etc.) that can be passed directly to the ioredis RedisOptions library. + object + {} + + + + Defines a list of nodes of the cluster you want to connect to that can be passed directly to the ioredis cluster library + to connect to the redis cluster. This setting has the priority over the iooptions parameter for connecting to the single redis. + array + [] + + + + Defines the parameters (clusterRetryStrategy, dnsLookup, scaleReads etc.) that can be passed directly to the ioredis cluster library + to connect to the redis cluster. This setting has the priority over the iooptions parameter for connecting to the single redis. object {} @@ -1561,10 +1597,13 @@ "redis": { "name": "redis", "prefix": "ds:", - "host": "localhost", + "host": "127.0.0.1", "port": 6379, "options": {}, - "iooptions": {} + "optionsCluster": {}, + "iooptions": {}, + "iooptionsClusterNodes": [], + "iooptionsClusterOptions"": {} } } } @@ -1675,6 +1714,12 @@ integer 604800 + + + Defines the time of life for the forcesaved locks in the ioredis cluster mode. + integer + 5000 + Defines the time of life for the database save executed with success. @@ -1765,6 +1810,7 @@ "message": 86400, "lastsave": 604800, "forcesave": 604800, + "forcesaveLock": 5000, "saved": 3600, "documentsCron": "0 */2 * * * *", "files": 86400,