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 (266B)



      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 workers 1
     11 
     12 domain * {
     13 	attach		tls
     14 
     15 	certfile	cert/server.pem
     16 	certkey		cert/key.pem
     17 
     18 	route / {
     19 		handler page
     20 	}
     21 
     22 	route /subscribe {
     23 		handler subscribe
     24 	}
     25 }