Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 885 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 885 Bytes

mozilla-builders

WSS MultiSocket

Single HTTP/S server providing multiple ephemeral WebSocket instances with path based routing and mesh isolation.

Configuration

  • requires a valid set of SSL/TLS certificates (letsencrypt)

Installation

npm install

Usage

npm

Explode your ENV variables manually and launch using npm:

PORT=443 SSLKEY=/path/to/privkey.pem SSLCERT=/path/to/fullchain.pem npm start

pm2

Configure the options in multisocket.config.js and launch using pm2:

pm2 start multisocket.config.js
Credits

This project is a component of Gun Meething powered by GunDB