Update websocket.md
Added file location, put enable field at top
This commit is contained in:
parent
cbb3970605
commit
7378361d09
|
@ -21,14 +21,14 @@ There are a few things out of scope of this document:
|
||||||
|
|
||||||
## Setup
|
## 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).
|
don't already have it defined).
|
||||||
|
|
||||||
````hjson
|
````hjson
|
||||||
loginServers: {
|
loginServers: {
|
||||||
webSocket : {
|
webSocket : {
|
||||||
port: 8810
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
port: 8810
|
||||||
securePort: 8811
|
securePort: 8811
|
||||||
certPem: /path/to/https_cert.pem
|
certPem: /path/to/https_cert.pem
|
||||||
keyPem: /path/to/https_cert_key.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:
|
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")
|
![VTXClient](../assets/images/vtxclient.png "VTXClient")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue