2018-01-25 19:12:53 -05:00
|
|
|
{
|
|
|
|
"__comment__" : "This is a sample configuration file, edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
|
2018-07-23 20:34:24 -04:00
|
|
|
"settings": {
|
|
|
|
"_MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
|
|
|
|
"_MongoDbCol": "meshcentral",
|
|
|
|
"_WANonly": true,
|
|
|
|
"_LANonly": true,
|
2018-08-24 16:14:20 -04:00
|
|
|
"_Minify": 1,
|
2018-08-22 19:18:01 -04:00
|
|
|
"_SessionTime": 30,
|
|
|
|
"_SessionKey": "MyReallySecretPassword",
|
2018-07-23 20:34:24 -04:00
|
|
|
"_Port": 443,
|
|
|
|
"_RedirPort": 80,
|
|
|
|
"_AllowLoginToken": true,
|
|
|
|
"_AllowFraming": true,
|
|
|
|
"_WebRTC": false,
|
|
|
|
"_ClickOnce": false,
|
2018-09-19 12:15:31 -04:00
|
|
|
"_SelfUpdate": true,
|
2018-09-02 01:32:39 -04:00
|
|
|
"_UserAllowedIP": "127.0.0.1,::1,192.168.0.100",
|
2018-11-06 22:41:21 -05:00
|
|
|
"_LocalDiscovery": { "name": "Local server name", "info": "Information about this server" },
|
|
|
|
"_TlsOffload": true,
|
2018-12-20 15:12:24 -05:00
|
|
|
"_MpsTlsOffload": true,
|
|
|
|
"_WebRtConfig": { "iceServers": [ { "urls": "stun:stun.services.mozilla.com" }, { "urls": "stun:stun.l.google.com:19302" } ] }
|
2018-01-25 19:12:53 -05:00
|
|
|
},
|
|
|
|
"_domains": {
|
|
|
|
"": {
|
|
|
|
"title": "MyServer",
|
|
|
|
"title2": "Servername",
|
|
|
|
"userQuota": 1048576,
|
|
|
|
"meshQuota": 248576,
|
|
|
|
"newAccounts": 1,
|
2018-10-31 19:03:09 -04:00
|
|
|
"footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>",
|
|
|
|
"_certUrl": "https://192.168.2.106:443/"
|
2018-01-25 19:12:53 -05:00
|
|
|
},
|
|
|
|
"customer1": {
|
|
|
|
"dns": "customer1.myserver.com",
|
|
|
|
"title": "Customer1",
|
|
|
|
"title2": "TestServer",
|
|
|
|
"newAccounts": 1,
|
|
|
|
"auth": "sspi",
|
2018-10-31 19:03:09 -04:00
|
|
|
"footer": "Test",
|
|
|
|
"_certUrl": "https://192.168.2.106:443/"
|
2018-01-25 19:12:53 -05:00
|
|
|
},
|
|
|
|
"info": {
|
|
|
|
"share": "C:\\ExtraWebSite"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_letsencrypt": {
|
|
|
|
"email": "myemail@myserver.com ",
|
|
|
|
"names": "myserver.com,customer1.myserver.com",
|
|
|
|
"rsaKeySize": 3072,
|
|
|
|
"production": false
|
|
|
|
},
|
|
|
|
"_peers": {
|
|
|
|
"serverId": "server1",
|
|
|
|
"servers": {
|
|
|
|
"server1": { "url": "wss://192.168.2.133:443/" },
|
|
|
|
"server2": { "url": "wss://192.168.1.106:443/" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_smtp": {
|
|
|
|
"host": "smtp.myserver.com",
|
|
|
|
"port": 25,
|
|
|
|
"from": "myemail@myserver.com",
|
|
|
|
"tls": false
|
|
|
|
}
|
|
|
|
}
|