summaryrefslogtreecommitdiff
path: root/storage_node_httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'storage_node_httpd.conf')
-rw-r--r--storage_node_httpd.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/storage_node_httpd.conf b/storage_node_httpd.conf
new file mode 100644
index 0000000..2f271f8
--- /dev/null
+++ b/storage_node_httpd.conf
@@ -0,0 +1,21 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
+[
+ {port, 8081},
+ {bind_address, {127, 0, 0, 1}},
+ {server_name, "flimsy"},
+ {server_root, "catlfish/webroot"},
+ {document_root, "catlfish/webroot/docroot"},
+ {modules, [mod_alias, mod_auth, mod_esi, mod_get, mod_head,
+ mod_log, mod_disk_log]},
+ {erl_script_alias, {"/ct", [storage]}},
+ {erl_script_nocache, true},
+ {error_log, "log/error_storage"},
+ {security_log, "log/security_storage"},
+ {transfer_log, "log/transfer_storage"},
+ {socket_type,
+ {essl, % See ssl(3erl) for SSL options.
+ [{certfile, "catlfish/webroot/certs/webcert.pem"},
+ {keyfile, "catlfish/webroot/keys/webkey.pem"},
+ {cacertfile, "catlfish/webroot/certs/webcert.pem"}]}}
+].