-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathconfig.example.json
More file actions
37 lines (37 loc) · 922 Bytes
/
config.example.json
File metadata and controls
37 lines (37 loc) · 922 Bytes
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
{
"db_path": "./gatesentinel.db",
"admin_user": "admin",
"admin_pass": "admin123",
"client_token": "Demo",
"jwt_secret": "your-jwt-secret-key-here",
"webhook_url": "",
"webhook_key": "",
"webhook_enable": false,
"server": {
"host": "0.0.0.0",
"port": 8080,
"read_timeout": 60,
"write_timeout": 60,
"max_body_size": 10,
"enable_https": false,
"https_port": 8443,
"cert_file": "./certs/server.crt",
"key_file": "./certs/server.key"
},
"routes": {
"admin_prefix": "/websafe/admin",
"api_prefix": "/websafe/admin/api",
"beacon_endpoint": "/api.jsp",
"login_path": "/login",
"register_path": "/sync_debug"
},
"encoding": {
"use_custom_base64": true,
"custom_base64_table": "QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm0123456789+/"
},
"traffic_disguise": {
"enable": true,
"prefix": "<!--",
"suffix": "-->"
}
}