forked from AnimMouse/frp-flyapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
99 lines (83 loc) · 1.88 KB
/
fly.toml
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
kill_signal = "SIGTERM"
kill_timeout = 120
# frp control plane
# frp KCP server
[[services]]
internal_port = 7000
protocol = "udp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
port = 7000
# frp TCP server
#[[services]]
# internal_port = 7000
# protocol = "tcp"
#
# [services.concurrency]
# hard_limit = 25
# soft_limit = 20
# type = "connections"
#
# [[services.ports]]
# port = 7000
#
# [[services.tcp_checks]]
# grace_period = "1s"
# interval = "1m"
# restart_limit = 0
# timeout = "2s"
# frp HTTP server (for dashboard or HTTP tunnel)
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "1m"
restart_limit = 0
timeout = "2s"
# frp XTCP P2P (requires bind_addr = fly-global-services in frps.ini)
[[services]]
internal_port = 7001
protocol = "udp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
port = 7001
# frp data plane
# frp TCP tunnel (example for Minecraft Java server, requires proxy_bind_addr = 0.0.0.0 (or :: in IPv6) in frps.ini)
[[services]]
internal_port = 25565
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
port = 25565
# frp UDP tunnel (example for Minecraft Bedrock server, requires proxy_bind_addr = fly-global-services in frps.ini)
#[[services]]
# internal_port = 19132
# protocol = "udp"
#
# [services.concurrency]
# hard_limit = 25
# soft_limit = 20
# type = "connections"
#
# [[services.ports]]
# port = 19132