telize

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

telize.conf (470B)


      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 http_server_version	Telize/3.0.0
     21 
     22 domain * {
     23 	attach		tls
     24 
     25 	certfile	cert/server.pem
     26 	certkey		cert/key.pem
     27 
     28 #	accesslog	telize.log
     29 
     30 	include		conf/routes.conf
     31 }
     32 
     33 domain * {
     34 	attach		notls
     35 
     36 #	accesslog	telize.log
     37 
     38 	include		conf/routes.conf
     39 }