add section for config.json
Simon Smith committed
Jun 30, 2022 at 15:13 UTC
39eed8cdff606b48e6958103910c8e3c1453ba6f
1 file changed
+36
-2
.github/ISSUE_TEMPLATE/bug_report.md
+36
-2
@@ -27,8 +27,8 @@ If applicable, add screenshots to help explain your problem.
27
- OS: [e.g. Ubuntu]
28
- Virtualization: [e.g. Docker]
29
- Network: [e.g. LAN/WAN, reverse proxy, cloudflare, ssl offload, etc...]
30
- - Version: [e.g. 1.0.36]
31
- - Node: [e.g. 18.3.0]
30
+ - Version: [e.g. 1.0.43]
31
+ - Node: [e.g. 18.4.0]
32
- Browser: [e.g. Google Chrome]
33
34
**Remote Device (please complete the following information):**
@@ -39,3 +39,37 @@ If applicable, add screenshots to help explain your problem.
39
40
**Additional context**
41
Add any other context about the problem here.
42
+
43
+**Config.JSON**
44
+```
45
+{
46
+ "$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
47
+ "__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.",
48
+ "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
49
+ "settings": {
50
+ "_cert": "myserver.mydomain.com",
51
+ "_WANonly": true,
52
+ "_LANonly": true,
53
+ "_sessionKey": "MyReallySecretPassword1",
54
+ "_port": 443,
55
+ "_aliasPort": 443,
56
+ "_redirPort": 80,
57
+ "_redirAliasPort": 80
58
+ },
59
+ "domains": {
60
+ "": {
61
+ "_title": "MyServer",
62
+ "_title2": "Servername",
63
+ "_minify": true,
64
+ "_newAccounts": true,
65
+ "_userNameIsEmail": true
66
+ }
67
+ },
68
+ "_letsencrypt": {
69
+ "__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
70
+ "email": "myemail@mydomain.com",
71
+ "names": "myserver.mydomain.com",
72
+ "production": false
73
+ }
74
+}
75
+```