-
Notifications
You must be signed in to change notification settings - Fork 0
/
sys.config.in
100 lines (100 loc) · 3.88 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[{cse,
[{nrf_uri, "http://ocs.mnc001.mcc001.3gppnetwork.org/nrf-rating/v1"},
% {diameter,
% [{{0,0,0,0}, 3868,
% [{'Auth-Application-Id', [4]},
% {application,[{alias, cse_diameter_3gpp_ro_application},
% {dictionary, diameter_gen_3gpp_ro_application},
% {module, cse_diameter_3gpp_ro_application_cb},
% {request_errors, callback}]},
% {'Acct-Application-Id', [3]},
% {application,[{alias, cse_diameter_3gpp_rf_application},
% {dictionary, diameter_gen_3gpp_rf_application},
% {module, cse_diameter_3gpp_rf_application_cb},
% {request_errors, callback}]},
% {'Origin-Realm',"cse.mnc001.mcc001.3gppnetwork.org"}]}]},
{logs,
[{'3gpp_ro',
[{format, external},
{codec, {cse_log_codec_ecs, codec_diameter_ecs}},
{type, wrap},
{size, {10485760, 10}}]},
{'3gpp_rf',
[{format, external},
{codec, {cse_log_codec_ecs, codec_diameter_ecs}},
{type, wrap},
{size, {10485760, 10}}]},
{rating,
[{format, external},
{codec, {cse_log_codec_ecs, codec_rating_ecs}},
{type, wrap},
{size, {10485760, 10}}]},
{prepaid,
[{format, external},
{codec, {cse_log_codec_ecs, codec_prepaid_ecs}},
{type, wrap},
{size, {10485760, 10}}]},
{postpaid,
[{format, external},
{codec, {cse_log_codec_ecs, codec_postpaid_ecs}},
{type, wrap},
{size, {10485760, 10}}]},
{cdr,
[{format, external},
{type, wrap},
{size, {10485760, 10}}]}]}]},
{m3ua,
[]},
{gtt,
[]},
{mnesia,
[{dir, "db"}]},
{inets,
[{services,
[{httpd,
[{server_name, "cse"},
{directory, {"/health", []}},
{directory, {"/",
[{auth_type, mnesia},
{auth_name, "cse.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, external},
{modules,
[mod_alias,
mod_auth,
mod_responsecontrol,
mod_cse_rest_accepted_content,
mod_cse_rest_get,
mod_cse_rest_head,
mod_get,
mod_cse_rest_post,
mod_cse_rest_delete,
mod_cse_rest_patch,
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, "tls/cert.pem"},
% {keyfile, "tls/key.pem"}]}},
{server_root, "./"},
{alias, {"/doc", "lib/@PACKAGE@-@VERSION@/doc"}},
{alias, {"/schema", "lib/@PACKAGE@-@VERSION@/priv/schema"}},
{document_root, "lib/@PACKAGE@-@VERSION@/doc"}]}]}]},
{snmp,
[{agent,
[{config, [{dir, "snmp/conf"}]},
{db_dir, "snmp/db"}]}]}].