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

配置文件重载的功能 #21

Open
QiWei opened this issue Jan 4, 2022 · 1 comment
Open

配置文件重载的功能 #21

QiWei opened this issue Jan 4, 2022 · 1 comment

Comments

@QiWei
Copy link

QiWei commented Jan 4, 2022

如果能加上配置文件监视并重载的功能,这样当通过服务启动时,修改配置文件比较方便,不需要重启服务。

@mbyd2022
Copy link

运行后显示如下错误:
root@instance-20220518-1220:~# ./good-mitm run -r netflix.yaml
[2023-03-16T13:04:57Z INFO good_mitm] CA Private key use: ca/private.key
[2023-03-16T13:04:57Z INFO good_mitm] CA Certificate use: ca/cert.crt
[2023-03-16T13:04:57Z INFO good_mitm] Http Proxy listen on: http://127.0.0.1:34567
thread 'main' panicked at 'Not a valid path: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /project/src/file/mod.rs:12:33
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
要怎么解决呢?

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

2 participants