sample-config.json 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. {
  2. "$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
  3. "__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
  4. "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
  5. "settings": {
  6. "_cert": "myserver.mydomain.com",
  7. "_WANonly": true,
  8. "_LANonly": true,
  9. "_sessionKey": "MyReallySecretPassword1",
  10. "_port": 443,
  11. "_aliasPort": 443,
  12. "_redirPort": 80,
  13. "_redirAliasPort": 80
  14. },
  15. "domains": {
  16. "": {
  17. "_title": "MyServer",
  18. "_title2": "Servername",
  19. "_minify": true,
  20. "_newAccounts": true,
  21. "_userNameIsEmail": true
  22. }
  23. },
  24. "_letsencrypt": {
  25. "__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
  26. "email": "myemail@mydomain.com",
  27. "names": "myserver.mydomain.com",
  28. "skipChallengeVerification": true,
  29. "production": false
  30. }
  31. }