Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki例子格式错误 #3990

Closed
1 of 11 tasks
BlueDolphin9527 opened this issue Feb 14, 2024 · 1 comment
Closed
1 of 11 tasks

Wiki例子格式错误 #3990

BlueDolphin9527 opened this issue Feb 14, 2024 · 1 comment

Comments

@BlueDolphin9527
Copy link

BlueDolphin9527 commented Feb 14, 2024

Bug Description

我在实际配置中发现配置格式和WIKI中有很大出入,所以指出来,还麻烦开发者大大改下,避免其它小白犯错。
官方Wiki网页
image
此处前一行应该有[common]字段,不应该省略,因为前面也没有提到与[common]相关的内容,下文的frpc.toml也是一样。
image
serverAddr应该为server_addrserverPort应该为server_port[[proxies]]应该只有一对中括号,[[proxies]]name段功能重复,只讲一个就好了,localIP应该为local_iplocalPort应该为local_portremotePort应该为remote_port,此外代码块中的所有双引号都应该去掉。
为本地 HTTP 服务启用 HTTPS这段中我实在找不到正确的格式是怎样的,我在全网没找到过有人介绍过这个功能的,按官方WIKI配置也提示出错。

frpc Version

0.54.0

frps Version

0.54.0

System Architecture

linux/amd64

Configurations

测试

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@superzjg
Copy link

superzjg commented Feb 17, 2024

toml格式配置不需要也不能用 [common] 字段,若加上,会被认为使用ini格式的配置。
配置文件示例请阅读:
https://github.com/fatedier/frp/tree/dev/conf
其中 legacy 目录是旧的 ini 格式,目前还是支持的。你是把两者搞混了,后续会删除ini格式支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants