Browse Source

Fixed MeshCentral

master
Tai Dao 4 years ago
parent
commit
d1c02a61f5
  1. 2
      meshcentral/README.md
  2. 21
      meshcentral/config.json.template

2
meshcentral/README.md

@ -19,7 +19,7 @@ You will need the files in this GitHubs folder (Dockerfile, startup.sh, and conf
Remember to `docker exec -w /etc/caddy caddy caddy reload` after editing your Caddyfile. Remember to `docker exec -w /etc/caddy caddy caddy reload` after editing your Caddyfile.
``` ```
meshcentral.joindigital.com { meshcentral.YOURDOMAIN.com {
reverse_proxy meshcentral:4430 { reverse_proxy meshcentral:4430 {
header_up Host {http.reverse_proxy.upstream.hostport} header_up Host {http.reverse_proxy.upstream.hostport}
header_up X-Real-IP {http.request.remote} header_up X-Real-IP {http.request.remote}

21
meshcentral/config.json.template

@ -6,7 +6,7 @@
"_LANonly": true, "_LANonly": true,
"_sessionKey": "MyReallySecretPassword1", "_sessionKey": "MyReallySecretPassword1",
"port": 4430, "port": 4430,
"_aliasPort": 443, "aliasPort": 443,
"redirPort": 80, "redirPort": 80,
"_redirAliasPort": 80, "_redirAliasPort": 80,
"AgentPong": 300, "AgentPong": 300,
@ -16,19 +16,10 @@
"WebRTC": false "WebRTC": false
}, },
"domains": { "domains": {
"": { "": {
"_title": "MyServer", "title": "MeshCentral",
"_title2": "Servername", "_NewAccounts": false,
"_minify": true, "certUrl": "https://joindigital.com:443"
"NewAccounts": true, }
"_userNameIsEmail": true,
"_certUrl": "my.reverse.proxy"
}
},
"_letsencrypt": {
"__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before>",
"_email": "myemail@mydomain.com",
"_names": "myserver.mydomain.com",
"production": false
} }
} }
Loading…
Cancel
Save