telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

telize.conf (434B)


      1 # telize configuration
      2 
      3 server tls {
      4 	bind	127.0.0.1	8888
      5 	bind	::1	8888
      6 }
      7 
      8 server notls {
      9 	bind	127.0.0.1	8080
     10 	bind	::1	8080
     11 	tls	no
     12 }
     13 
     14 load		./telize.so telize_init
     15 
     16 tls_dhparam	dh2048.pem
     17 
     18 validator v_callback regex		^.*$
     19 
     20 domain * {
     21 	attach		tls
     22 
     23 	certfile	cert/server.pem
     24 	certkey		cert/key.pem
     25 
     26 	accesslog	telize.log
     27 
     28 	include		conf/routes.conf
     29 }
     30 
     31 domain * {
     32 	attach		notls
     33 
     34 	accesslog	telize.log
     35 
     36 	include		conf/routes.conf
     37 }