From 39eed8cdff606b48e6958103910c8e3c1453ba6f Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Thu, 30 Jun 2022 15:13:16 +0100 Subject: [PATCH 1/2] add section for config.json --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 93f329fe..81d4bda8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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. + +**Config.JSON** +``` +{ + "$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 + } +} +``` From ce8528b04feaf03ea277a3fbe5b54b4dc760b3d8 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Thu, 30 Jun 2022 15:14:21 +0100 Subject: [PATCH 2/2] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 81d4bda8..b4978944 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -40,7 +40,7 @@ If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. -**Config.JSON** +**Your config.json file** ``` { "$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",