1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/nodes/WebSocket.md

372 B

WebSocket

The websocket node type spawns a HTTP / WebSocket server.

Configuration

There is no node specific configuration.

Example

nodes = {
	ws = {
		type = "websocket"
	}
}

http = {
	port = 8080;
	htdocs = "/opt/s2ss/contrib/websocket/";
	ssl_cert = "/etc/ssl/certs/mycert.pem";
	ssl_private_key= "/etc/ssl/private/mykey.pem";
}