kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
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 }