add token file config as example

This commit is contained in:
杨黄林
2023-09-17 11:35:54 +08:00
parent 59af75a785
commit e8de396f6c

17
config/frps-tokens.toml Normal file
View File

@@ -0,0 +1,17 @@
[tokens]
[tokens.user1]
user = "user1"
token = "token1"
comment = "user1 with token1"
ports = [8080, "10000-10200"]
domains = ["web01.domain.com", "web02.domain.com"]
subdomains = ["web01", "web02"]
enable = false
[tokens.user2]
user = "user2"
token = "token2"
comment = "user2 with token2"
ports = [9080]
domains = ["web11.domain.com", "web12.domain.com"]
subdomains = ["web11", "web12"]
enable = false