From 314370d6e5e6326033b648ba621803b75337935f Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Fri, 24 Oct 2014 04:37:18 +0200 Subject: Use mochiweb for v1 API --- catlfish.config | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'catlfish.config') diff --git a/catlfish.config b/catlfish.config index 87a5e26..95d1809 100644 --- a/catlfish.config +++ b/catlfish.config @@ -7,9 +7,14 @@ {error_logger_mf_dir, "log"}, {error_logger_mf_maxbytes, 10485760}, % 10 MB {error_logger_mf_maxfiles, 10}]}, - {inets, - [{services, - [{httpd, [{proplist_file, "httpd_props.conf"}]}]}]}, + {catlfish, + [{https_servers, + [{"127.0.0.1", 8080, v1} + ]}, + {https_certfile, "catlfish/webroot/certs/webcert.pem"}, + {https_keyfile, "catlfish/webroot/keys/webkey.pem"}, + {https_cacertfile, "catlfish/webroot/certs/webcert.pem"} + ]}, {plop, [{entry_root_path, "db/certentries/"}, {index_path, "db/index"}, -- cgit v1.1