Update Remote-Access_Containers/meshcentral/config.json
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
|
||||
"settings": {
|
||||
"cert": "${sub.domain.com}",
|
||||
"cert": "${HOSTNAME}",
|
||||
"WANonly": true,
|
||||
"_LANonly": true,
|
||||
"_sessionKey": "",
|
||||
"sessionKey": "${SESSION_KEY}",
|
||||
"port": 443,
|
||||
"redirPort": 80,
|
||||
"AgentPong": 300,
|
||||
@@ -12,10 +12,10 @@
|
||||
"SelfUpdate": false,
|
||||
"AllowFraming": "false",
|
||||
"WebRTC": "false",
|
||||
"agentAliasDNS":"${sub.domain.com}",
|
||||
"agentAliasDNS":"${HOSTNAME}",
|
||||
"trustedproxy": "CloudFlare",
|
||||
"maxInvalidLogin": {
|
||||
"_exclude": "192.168.X.0/24",
|
||||
"_exclude": "${IP}/24",
|
||||
"time": 3,
|
||||
"count": 5,
|
||||
"coolofftime": 1440
|
||||
@@ -25,15 +25,8 @@
|
||||
"time": 3,
|
||||
"count": 5,
|
||||
"coolofftime": 15
|
||||
},
|
||||
"AutoBackup": {
|
||||
"backupPath": "/opt/meshcentral/meshcentral-backups",
|
||||
"backupInvervalHours": 24,
|
||||
"keepLastDaysBackup": "10",
|
||||
"zippassword": ""
|
||||
}
|
||||
},
|
||||
"_smtp": {
|
||||
"_smtp": {
|
||||
"host": "smtp.myserver.com",
|
||||
"port": 25,
|
||||
"from": "[email protected]",
|
||||
@@ -51,7 +44,7 @@
|
||||
"domains": {
|
||||
"": {
|
||||
"_title": "MyServer",
|
||||
"allowedOrigin": true,
|
||||
"allowedOrigin": [ "${HOSTNAME}", "${DOMAIN}" ],
|
||||
"passwordRequirements": {
|
||||
"min": 16,
|
||||
"max": 128,
|
||||
@@ -61,7 +54,7 @@
|
||||
"nonalpha": 3,
|
||||
"reset": 365,
|
||||
"force2factor": true,
|
||||
"_skip2factor": "127.0.0.1,192.168.X.0/24",
|
||||
"_skip2factor": "127.0.0.1,${IP}/24",
|
||||
"oldPasswordBan": 10,
|
||||
"_twoFactorTimeout": 300,
|
||||
"_duo2factor": true
|
||||
@@ -72,8 +65,8 @@
|
||||
"NewAccounts": "true",
|
||||
"_userNameIsEmail": true,
|
||||
"newAccountsCaptcha": true,
|
||||
"certUrl": "https://${sub.domain.com}",
|
||||
"LoginKey":""
|
||||
"certUrl": "https://${HOSTNAME}",
|
||||
"LoginKey":"${LOGIN_KEY}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user