summaryrefslogtreecommitdiff
path: root/catlfish.config
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-24 04:37:18 +0200
committerLinus Nordberg <linus@nordberg.se>2014-10-24 11:10:05 +0200
commit00156d1b7740c4177fc29bd10d75ea4e0e59cc6e (patch)
tree8dc3ac870fead70b59b40240d7b12734e7d0d67b /catlfish.config
parent5e0ad5a06c608250ca1130e378932c0275c99e63 (diff)
Use mochiweb for v1 API
Conflicts: catlfish.config src/v1.erl
Diffstat (limited to 'catlfish.config')
-rw-r--r--catlfish.config12
1 files changed, 8 insertions, 4 deletions
diff --git a/catlfish.config b/catlfish.config
index c8fcb73..75d00fa 100644
--- a/catlfish.config
+++ b/catlfish.config
@@ -7,11 +7,15 @@
{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,
- [{known_roots_path, "known_roots"}]},
+ [{known_roots_path, "known_roots"},
+ {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"},