1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[
{port, 8080},
{bind_address, {127, 0, 0, 1}},
{server_name, "flimsy"},
{server_root, "ctls/webroot"},
{document_root, "ctls/webroot/docroot"},
{modules, [mod_alias, mod_auth, mod_esi, mod_get, mod_head,
mod_log, mod_disk_log]},
%%{re_write, {"^/ct/v1/(.*)$", "/ct/v1/https_server/\\1"}},
%%{script_re_write, {"^/ct/v1/(.*)_(.*)$", "/ct/v1/\\1-\\2"}},
{erl_script_alias, {"/ct", [v1]}},
{erl_script_nocache, true},
{error_log, "log/error"},
{security_log, "log/security"},
{transfer_log, "log/transfer"},
{socket_type,
{essl, % See ssl(3erl) for SSL options.
[{certfile, "ctls/webroot/certs/webcert.pem"},
{keyfile, "ctls/webroot/keys/webkey.pem"}]}}
].
|