mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added web socket node to example config
This commit is contained in:
parent
6da1070e56
commit
fe8a6750f4
2 changed files with 7 additions and 0 deletions
|
@ -127,6 +127,11 @@ nodes = {
|
|||
"PTotalLosses(MW)",
|
||||
"QTotalLosses(Mvar)"
|
||||
]
|
||||
},
|
||||
websocket_node = {
|
||||
type = "websocket"
|
||||
|
||||
destinations = [ "http://example.com/node-name1", "https://example.com/another-node" ]
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ log = {
|
|||
};
|
||||
|
||||
http = {
|
||||
enabled = true, # Do not listen on port if true
|
||||
|
||||
htdocs = "/villas/web/socket/", # Root directory of internal webserver
|
||||
port = 80 # Port for HTTP connections
|
||||
}
|
Loading…
Add table
Reference in a new issue