koreMoon

Kore io example with moonjs and websockets
git clone https://noulin.net/git/koreMoon.git
Log | Files | Refs | README | LICENSE

websocket.conf (376B)


      1 # Kore websocket example
      2 
      3 bind		127.0.0.1 8888
      4 load		./websocket.so
      5 
      6 tls_dhparam	dh2048.pem
      7 
      8 # Increase workers so connections are spread
      9 # across them to demonstrate WEBSOCKET_BROADCAST_GLOBAL.
     10 workers		4
     11 
     12 websocket_maxframe	65536
     13 websocket_timeout	20
     14 
     15 domain 127.0.0.1 {
     16 	certfile	cert/server.pem
     17 	certkey		cert/key.pem
     18 
     19 	static	/			page
     20 	static	/connect		page_ws_connect
     21 }