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

video_stream.conf (325B)



      1 # Placeholder configuration
      2 
      3 server tls {
      4 	bind 127.0.0.1 8888
      5 }
      6 
      7 load		./video_stream.so init
      8 
      9 http_keepalive_time	600
     10 
     11 domain * {
     12 	attach		tls
     13 
     14 	certfile	cert/server.pem
     15 	certkey		cert/key.pem
     16 	accesslog	access.log
     17 
     18 	route / {
     19 		handler asset_serve_video_html
     20 	}
     21 
     22 	route ^/[a-z]*.[a-z0-9]{3}$ {
     23 		handler video_stream
     24 	}
     25 }