-
Notifications
You must be signed in to change notification settings - Fork 193
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
Comments
修改 目录映射: version: "3"
services:
frps:
restart: always
network_mode: host
volumes:
- /share/Docker/frpc-base/frpc.toml:/frp/frpc.toml
- /share/Docker/frpc-base/ssl/:/frp/ssl/
container_name: frpc-base
image: stilleshan/frpc:0.57.0 能看到证书文件, 修改客户端配置:
2024-04-23 22:56:51.724 [W] [client/control.go:168] [2354c02ba0a4e978] [nas] start error: gen TLS config error: open ./ssl/nas.devwiki.net.crt: no such file or directory |
挂载路径尽量不要重叠 /frp 目录,和配置文件错开。 比如根目录的/ssl 配置用绝对路径 /ssl |
重新挂了 新的目录 可以找到 正常了, 谢谢, 建议把这个写到使用说明中 |
客户端安装如下:
配置如下:
运行后提示无法找到证书文件, 如何映射文件夹呢?
frpc-base | 2024-04-23 22:48:51.406 [W] [client/control.go:168] [a489dea5b830a67f] [nas] start error: gen TLS config error: open ./nas.devwiki.net.crt: no such file or directory
The text was updated successfully, but these errors were encountered: