summaryrefslogtreecommitdiff
path: root/catlfish.config
blob: 75d00fa9ec38a9aff5ea91ae91786123065d57de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%% catlfish configuration file (-*- erlang -*-)
%% Start like this:
%% $ erl -boot start_sasl -config catlfish -run inets
[{sasl,
  [{sasl_error_logger, false},
   {errlog_type, error},
   {error_logger_mf_dir, "log"},
   {error_logger_mf_maxbytes, 10485760},	% 10 MB
   {error_logger_mf_maxfiles, 10}]},
 {catlfish,
  [{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"},
   {entryhash_root_path, "db/entryhash/"},
   {treesize_path, "db/treesize"},
   {indexforhash_root_path, "db/certindex/"}]}].