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

tls-proxy.conf (355B)



      1 # Kore as a TLS proxy configuration.
      2 
      3 load ./tls-proxy.so
      4 
      5 #
      6 # Bind the proxy to a given IP and port. For every
      7 # connection we receive we will call client_setup
      8 # so it can kick things in action.
      9 #
     10 server tls {
     11 	bind 127.0.0.1 8888 client_setup
     12 }
     13 
     14 # Setup domain for TLS usage.
     15 domain * {
     16 	attach		tls
     17 
     18 	certfile	cert/server.pem
     19 	certkey		cert/key.pem
     20 }