Files
Docker-Compose/Remote-Access_Containers/meshcentral/config.json
T

78 lines
2.2 KiB
JSON

{
"$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
"settings": {
"cert": "${sub.domain.com}",
"WANonly": true,
"_LANonly": true,
"_sessionKey": "",
"port": 443,
"redirPort": 80,
"AgentPong": 300,
"TLSOffload": true,
"SelfUpdate": false,
"AllowFraming": "false",
"WebRTC": "false",
"agentAliasDNS":"${sub.domain.com}",
"trustedproxy": "CloudFlare",
"maxInvalidLogin": {
"_exclude": "192.168.X.0/24",
"time": 3,
"count": 5,
"coolofftime": 1440
},
"__maxInvalid2fa": "Time in minutes, max amount of bad two-factor authentication from a source IP in the time before 2FA's are rejected.",
"_maxInvalid2fa": {
"time": 3,
"count": 5,
"coolofftime": 15
},
"AutoBackup": {
"backupPath": "/opt/meshcentral/meshcentral-backups",
"backupInvervalHours": 24,
"keepLastDaysBackup": "10",
"zippassword": ""
}
},
"_smtp": {
"host": "smtp.myserver.com",
"port": 25,
"from": "[email protected]",
"user": "",
"pass": "",
"__tls__": "When 'tls' is set to true, TLS is used immidiatly when connecting. For SMTP servers that use TLSSTART, set this to 'false' and TLS will still be used.",
"tls": false,
"___tlscertcheck__": "When set to false, the TLS certificate of the SMTP server is not checked.",
"_tlscertcheck": false,
"__tlsstrict__": "When set to true, TLS cypher setup is more limited, SSLv2 and SSLv3 are not allowed.",
"_tlsstrict": true,
"_emailDelaySeconds": 300
},
"domains": {
"": {
"_title": "MyServer",
"allowedOrigin": true,
"passwordRequirements": {
"min": 16,
"max": 128,
"upper": 3,
"lower": 3,
"numeric": 3,
"nonalpha": 3,
"reset": 365,
"force2factor": true,
"_skip2factor": "127.0.0.1,192.168.X.0/24",
"oldPasswordBan": 10,
"_twoFactorTimeout": 300,
"_duo2factor": true
},
"userSessionIdleTimeout": 30,
"_title2": "Servername",
"_minify": true,
"NewAccounts": "true",
"_userNameIsEmail": true,
"newAccountsCaptcha": true,
"certUrl": "https://${sub.domain.com}",
"LoginKey":""
}
}
}