Merge pull request #4201 from si458/patch-2

add section for config.json in bug report
This commit is contained in:
Ylian Saint-Hilaire 2022-06-30 10:26:41 -07:00 committed by GitHub
commit b28d619740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,8 @@ If applicable, add screenshots to help explain your problem.
- OS: [e.g. Ubuntu]
- Virtualization: [e.g. Docker]
- Network: [e.g. LAN/WAN, reverse proxy, cloudflare, ssl offload, etc...]
- Version: [e.g. 1.0.36]
- Node: [e.g. 18.3.0]
- Version: [e.g. 1.0.43]
- Node: [e.g. 18.4.0]
- Browser: [e.g. Google Chrome]
**Remote Device (please complete the following information):**
@ -39,3 +39,37 @@ If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
**Your config.json file**
```
{
"$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
"__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.",
"__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
"settings": {
"_cert": "myserver.mydomain.com",
"_WANonly": true,
"_LANonly": true,
"_sessionKey": "MyReallySecretPassword1",
"_port": 443,
"_aliasPort": 443,
"_redirPort": 80,
"_redirAliasPort": 80
},
"domains": {
"": {
"_title": "MyServer",
"_title2": "Servername",
"_minify": true,
"_newAccounts": true,
"_userNameIsEmail": true
}
},
"_letsencrypt": {
"__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
"email": "myemail@mydomain.com",
"names": "myserver.mydomain.com",
"production": false
}
}
```