mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3890] 使用新版toml格式的配置文件时非常困惑的一点,官方文档提供的配置参考无法使用 #3085
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3085
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ZimaBlueee on GitHub (Dec 24, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3890
Describe the feature request
我在官网查询到token的配置如下图

但实际上,配置文件需要的是:
auth.token = "xxx"而不是:
token = "xxx"这让我很困扰,不止我举的这个例子,其他配置也有同样的问题:往新版toml格式的配置文件上转换时,参照官网的配置是不行的,只能从issue里翻答案。
请教下,哪里有新版格式(toml,yaml)的标准配置案例可供参考呢?还是我找错地方了呢?
Describe alternatives you've considered
No response
Affected area
@xqzr commented on GitHub (Dec 24, 2023):
#3847
@ZimaBlueee commented on GitHub (Dec 24, 2023):
感谢感谢!
@superzjg commented on GitHub (Dec 25, 2023):
实际上是排版的问题,并不是文档错误,不仔细看容易搞错。比如你说的 token 是有上级 auth 的 :
https://gofrp.org/zh-cn/docs/reference/server-configures/#serverconfig
@udbyygyt commented on GitHub (Mar 12, 2024):
查了半天,真的是这配置太奇怪
感谢感谢!