-
Notifications
You must be signed in to change notification settings - Fork 2
/
sys.config
57 lines (57 loc) · 2.15 KB
/
sys.config
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
[{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, "/opt/ocs/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}]},
{inets,
[{services,
[{httpd,
[{server_name, "ocs"},
{directory_index, ["index.html"]},
{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}},
{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_lang, mod_ocs_rest_accepted_content,
mod_ocs_rest_get, mod_get, mod_ocs_rest_post,
mod_ocs_rest_put, mod_ocs_rest_patch,
mod_ocs_rest_delete, mod_disk_log]},
{port, 8080},
{server_root, "./"},
{alias, {"/doc", "/opt/ocs/.build/otp-20/ocs/doc"}},
{document_root, "/opt/ocs/.build/otp-20/ocs/priv/www"}]}]}]}].