diff --git a/docs/servers/websocket.md b/docs/servers/websocket.md index 62df02d7..40d4b679 100644 --- a/docs/servers/websocket.md +++ b/docs/servers/websocket.md @@ -21,14 +21,14 @@ There are a few things out of scope of this document: ## Setup -1. Enable the websocket in ENiGMA, by adding `webSocket` configuration to the `loginServers` block (create it if you +1. Enable the websocket in ENiGMA, by adding `webSocket` configuration to the `loginServers` block in `config.hjson` (create it if you don't already have it defined). ````hjson loginServers: { webSocket : { - port: 8810 enabled: true + port: 8810 securePort: 8811 certPem: /path/to/https_cert.pem keyPem: /path/to/https_cert_key.pem @@ -88,4 +88,4 @@ otherwise. 9. If you navigate to http://your-hostname.here/vtx.html, you should see a splash screen like the following: ![VTXClient](../assets/images/vtxclient.png "VTXClient") - \ No newline at end of file +