kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

sse.conf (255B)



      1 # Placeholder configuration
      2 
      3 server tls {
      4 	bind 127.0.0.1 8888
      5 }
      6 
      7 load ./sse.so
      8 http_keepalive_time 600
      9 
     10 domain * {
     11 	attach		tls
     12 
     13 	certfile	cert/server.pem
     14 	certkey		cert/key.pem
     15 
     16 	route / {
     17 		handler page
     18 	}
     19 
     20 	route /subscribe {
     21 		handler subscribe
     22 	}
     23 }