-
-
Notifications
You must be signed in to change notification settings - Fork 13k
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
建议配置文件可以给目录或者*.ini一类的方式 #2232
Comments
Good idea |
顺便提一下: |
@zsinba |
哎呦我靠,有这个命令? |
frps可以吗? |
单个配置文件足够简洁了,而且完全能够覆盖你的场景吧? |
@dudebing99 这个功能已经在开发中了,作为可选的能力,某些场景下可能要根据不同的用途对 proxy 的配置进行分类,分别管理,批量删除等等。 |
如果个人用, 的确自己配置几个文件切换就好了. 如果在公司, 哪怕小公司商用, 配置文件管理就需要了
如果个人用, 的确自己配置几个文件切换就好了. 如果在公司, 哪怕小公司商用, 配置文件管理就需要了 |
我觉得,配置文件管理方式跟应用场景大小没有啥关系,跟软件本身的功能特点有关。frp 目前的配置文件看起来是通过不同的 section 来支持不同的模块,对标 frp,nginx 这种配置文件方式是为了更好地支持多个相同的 section (例如,多个 http/server)。 不过,期待看到这个新功能,或许确实会带来我没理解到的便捷之处。 |
The solution you want
当前的配置文件是单文件ini, 命令行是frpc -c config.ini
但是实际使用中会经常增删设置, 而主配置不变, 这样每次修改配置文件很麻烦. 一不小心改错了还得debug.
是否能将配置调整成v2ray那样的 exec -confdir config_dir
或者类似nginx那样主配置文件里可以写一句
include /single.conf/*.ini
Alternatives considered
How to implement this function
N/A
Application scenarios of this function
startup
The text was updated successfully, but these errors were encountered: