Put ports at top of blocks

This commit is contained in:
Bryan Ashby 2018-11-10 22:04:59 -07:00
parent 99893b0bd1
commit 82cfdc978f
1 changed files with 20 additions and 2 deletions

View File

@ -73,10 +73,14 @@
loginServers: { loginServers: {
// Remember kids, Telnet is insecure! // Remember kids, Telnet is insecure!
telnet: { telnet: {
// It's best to use non-privileged ports and NAT/foward to them
port: XXXXX
} }
// ...but SSH *is* secure! // ...but SSH *is* secure!
ssh: { ssh: {
port: XXXXX
// //
// To enable SSH: // To enable SSH:
// 1) Generate a Private Key (PK): // 1) Generate a Private Key (PK):
@ -105,10 +109,24 @@
proxied: false proxied: false
// Non-secure WebSockets, or ws:// // Non-secure WebSockets, or ws://
ws: {} ws: {
port: XXXXX
}
// Secure WebSockets, or wss:// // 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
}
} }
} }