-
Notifications
You must be signed in to change notification settings - Fork 45
/
sys.config.in
82 lines (82 loc) · 2.94 KB
/
sys.config.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[{ocs,
[{radius,
[{auth,
[{{0,0,0,0}, 1812, []}]},
{acct,
[{{0,0,0,0}, 1813, []}]}]},
{diameter,
[{acct,
[{{0,0,0,0}, 3868, []}]},
{auth,
[{{0,0,0,0}, 3869, []}]}]},
{acct_log_rotate, 1440},
{acct_log_rotate_time, {4,4,4}},
{acct_log_dir, "log/acct"},
{auth_log_dir, "log/auth"},
{abmf_log_dir, "log/abmf"},
{ipdr_log_dir, "log/ipdr"},
{export_dir, "log/export"},
{tls_key, "ssl/key.pem"},
{tls_cert, "ssl/cert.pem"},
{tls_cacert, "ssl/ca.pem"}]},
{radius,
[{sock_opts, [{recbuf, 131072}, {sndbuf, 131072}]}]},
{mnesia,
[{dir, "db"}]},
{sasl,
[{sasl_error_logger, {file, "log/sasl/sasl.log"}},
{errlog_type, error},
{error_logger_mf_dir, "log/sasl"},
{error_logger_mf_maxbytes, 10485760},
{error_logger_mf_maxfiles, 10}]},
{snmp,
[{agent,
[{config, [{dir, "snmp/conf"}]},
{db_dir, "snmp/db"}]}]},
{inets,
[{services,
[{httpd,
[{server_name, "ocs"},
{directory_index, ["index.html"]},
{directory, {"/health", []}},
{directory, {"/partyRoleManagement", []}},
{directory, {"/",
[{auth_type, mnesia},
{auth_name, "ocs.sigscale.org"},
{require_group, ["staff"]}]}},
{transfer_disk_log, "log/http/transfer"},
{security_disk_log, "log/http/security"},
{error_disk_log, "log/http/error"},
{transfer_disk_log_size, {10485760, 10}},
{error_disk_log_size, {10485760, 10}},
{security_disk_log_size, {10485760, 10}},
{disk_log_format, internal},
{modules,
[mod_alias,
mod_auth,
mod_responsecontrol,
mod_ocs_rest_accepted_content,
mod_ocs_rest_get,
mod_get,
mod_ocs_rest_head,
mod_ocs_rest_post,
mod_ocs_rest_patch,
mod_ocs_rest_delete,
mod_disk_log]},
{mime_types,
[{"html", "text/html"},
{"css", "text/css"},
{"js", "application/javascript"},
{"json", "application/json"},
{"svg", "image/svg+xml"},
{"png", "image/png"},
{"csv", "text/csv"}]},
{port, 8080},
{socket_type, ip_comm},
% {socket_type, {essl,
% [{certfile, "ssl/cert.pem"},
% {keyfile, "ssl/key.pem"}]}},
{server_root, "./"},
{alias, {"/doc", "lib/@PACKAGE@-@VERSION@/doc"}},
{alias, {"/schema", "lib/@PACKAGE@-@VERSION@/priv/schema"}},
{document_root, "lib/@PACKAGE@-@VERSION@/priv/www"}]}]}]}].