-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.sample.json
135 lines (135 loc) · 3.58 KB
/
config.sample.json
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"analytics": {
"cloudflare": null
},
"bnetdocs": {
"asset_versioning": true,
"blizzard_greeting_html": "<div class=\"alert alert-secondary p-2\">Hey there, Blizzard! We hope you find our info useful with your work, come ask us in the Discord any questions. <a href=\"https://discord.gg/u87WVeu\">discord.gg/u87WVeu</a> 😊</div>",
"campaigns": {
"battleforthenet": "",
"vultr": ""
},
"donations": {
"btc_address": null,
"email_address": null,
"paypal_url": null,
"user_id": null
},
"maintenance": [
false,
"BNETDocs has to take a brief moment to do some system maintenance. We'll be back shortly."
],
"navigation": {
"front_page": "/welcome"
},
"privacy": {
"contact": {
"email_domain": "example.com",
"email_mailbox": "nobody"
},
"data_location": "Hello World",
"organization": "{example org}"
},
"robotstxt": {
"*": [{"Disallow": "/"}]
},
"server_update_job_token": null,
"user_login_disabled": false,
"user_password_bcrypt_cost": 12,
"user_password_denylist_map": "../etc/password_denylist.json",
"user_password_pepper": "bnetdocs-INSERTRANDOMVALUEHERE",
"user_register_disabled": false,
"user_register_requirements": {
"email_enable_denylist": true,
"email_validate_quick": true,
"geoip_countrycode_denylist": {
"CN": "China is banned from this site for spamming and registering fake accounts",
"RU": "Russia is banned from this site for spamming and registering fake accounts",
"UA": "Ukraine is banned from this site for association with Russia and spamming and registering fake accounts"
},
"password_allow_email": false,
"password_allow_username": false,
"password_length_max": null,
"password_length_min": 6,
"username_length_max": 28,
"username_length_min": 3
}
},
"discord": {
"enabled": true,
"forward_event_log": {
"enabled": false,
"exclude_meta_data": false,
"ignore_event_types": [3,5,7,8,9,10,11],
"webhook": null
},
"forward_server_updates": {
"enabled": false,
"ignore_server_ids": [],
"webhook": null
},
"invite_code": "u87WVeu",
"server_id": 405789880749260820
},
"email": {
"recipient_denylist_regexp": [
"/@.+\\\\.cn$/i",
"/@.+\\\\.ru$/i",
"/@.+\\\\.ua$/i",
"/@mailinator\\.com$/i"
],
"recipient_from": [
"root@localhost",
"BNETDocs"
],
"recipient_reply_to": [
"root@localhost",
"root"
],
"smtp_host": "localhost",
"smtp_password": "",
"smtp_port": 25,
"smtp_tls": false,
"smtp_user": ""
},
"geoip": {
"database_file": "/usr/share/GeoIP/GeoLite2-City.mmdb",
"database_type": "city",
"enabled": true
},
"mysql": {
"character_set": "utf8",
"database": "bnetdocs_phoenix",
"password": "",
"servers": [
{
"hostname": "localhost",
"port": 3306
}
],
"timeout": 3,
"timezone": "+00:00",
"username": "bnetdocs"
},
"recaptcha": {
"secret": "google-provided-value",
"sitekey": "google-provided-value",
"url": "https://www.google.com/recaptcha/api/siteverify"
},
"slack":
{
"ignored_headers": [
"ACCEPT_ENCODING",
"CDN_LOOP",
"CF_CONNECTING_IP",
"CF_IPCOUNTRY",
"CF_RAY",
"CF_VISITOR",
"HOST",
"X_FORWARDED_FOR",
"X_FORWARDED_PROTO",
"X_REAL_IP"
],
"user_agent": "Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)"
}
}