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

jsonrpc.conf (226B)



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