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

pgsql.conf (308B)



      1 # Placeholder configuration
      2 
      3 load		./pgsql.so init
      4 
      5 server tls {
      6 	bind 127.0.0.1 8888
      7 }
      8 
      9 server other {
     10 	bind 127.0.0.1 8889 connection_new
     11 }
     12 
     13 http_keepalive_time	0
     14 
     15 domain * {
     16 	attach		tls
     17 
     18 	certfile	cert/server.pem
     19 	certkey		cert/key.pem
     20 
     21 	route / {
     22 		handler page
     23 	}
     24 
     25 	route /hello {
     26 		handler hello
     27 	}
     28 }