forked from som3canadian/Cloudflare-Redirector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_demo.json
63 lines (63 loc) · 1.48 KB
/
config_demo.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
{
"cf_account_id": "<account_id>",
"cf_account_dev_subdomain": "<subdomain>.workers.dev",
"secrets": {
"service_cf_id": "<service_cf_id>",
"service_cf_secret": "<service_cf_secret>",
"jwt_secret": "your_secret_key",
"router_header": "X-Header",
"router_header_secret": "secret_value",
"auth_header": "X-Header-Gate",
"auth_header_secret": "secret_value_auth_gate",
"id_header": "X-ID"
},
"router_route": [
{
"id": 1,
"name": "router1",
"use_custom_domain": "false",
"use_dev_subdomain": "true",
"pattern": "router1.example.com"
},
{
"id": 2,
"name": "router2",
"use_custom_domain": "false",
"use_dev_subdomain": "true",
"pattern": "router2.example.com"
},
{
"id": 3,
"name": "router3",
"use_custom_domain": "false",
"use_dev_subdomain": "true",
"pattern": "router3.example.com"
}
],
"listeners": [
{
"id": 1,
"name": "havoc",
"address": "https://havoc-listener.example.com/",
"is_default": "false",
"port": "443",
"bind_port": "8443"
},
{
"id": 2,
"name": "mythic",
"address": "https://mythic-listener.example.com/",
"is_default": "true",
"port": "443",
"bind_port": "9443"
},
{
"id": 3,
"name": "sliver",
"address": "https://sliver-listener.example.com/",
"is_default": "false",
"port": "443",
"bind_port": "6443"
}
]
}