From 82cfdc978fd161d2755b7608e17b88b378a0e5b6 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 10 Nov 2018 22:04:59 -0700 Subject: [PATCH] Put ports at top of blocks --- misc/config_template.in.hjson | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index b20b21a9..c8c9bebb 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -73,10 +73,14 @@ loginServers: { // Remember kids, Telnet is insecure! telnet: { + // It's best to use non-privileged ports and NAT/foward to them + port: XXXXX } // ...but SSH *is* secure! ssh: { + port: XXXXX + // // To enable SSH: // 1) Generate a Private Key (PK): @@ -105,10 +109,24 @@ proxied: false // Non-secure WebSockets, or ws:// - ws: {} + ws: { + port: XXXXX + } // Secure WebSockets, or wss:// - wss: {} + wss: { + port: XXXXX + enabled: XXXXX + + // + // Certificate and Key in PEM format. + // Note that web browsers will not trust self-signed certs. Look + // into Let's Encrypt and perhaps running ENiGMA behind another + // web server such as Caddy. + // + certPem: XXXXX + keyPem: XXXXX + } } }