Comments (3)
修改 目录映射:
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
能看到证书文件, 修改客户端配置:
# HTTPS 证书相关的配置
keyPath = "./ssl/nas.devwiki.net.key"
crtPath = "./ssl/nas.devwiki.net.crt"
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
from frpc.
挂载路径尽量不要重叠 /frp 目录,和配置文件错开。
比如根目录的/ssl
-v /xxx/ssl:/ssl
配置用绝对路径 /ssl
keyPath = "/ssl/nas.devwiki.net.key"
from frpc.
挂载路径尽量不要重叠 /frp 目录,和配置文件错开。
比如根目录的/ssl -v /xxx/ssl:/ssl
配置用绝对路径 /ssl keyPath = "/ssl/nas.devwiki.net.key"
重新挂了 新的目录 可以找到 正常了, 谢谢, 建议把这个写到使用说明中
from frpc.
Related Issues (18)
- 使用gitee HOT 1
- frpc客户端经常断掉,进程经常自己没了 HOT 1
- RockyLinux 9,无法启动 HOT 1
- 问下frpc使用range来配置代理端口,会有性能问题吗 HOT 4
- 👷 support `linux/arm/v7` ? HOT 1
- 在Rocky Linux 9.2 版本上systemd无法自启动
- 威联通nas用docker安装报错 HOT 1
- frp为什么使用的是我内网的上传带宽 HOT 2
- dokcer版本能否考虑加一个web管理 HOT 2
- 更新toml HOT 2
- 支持OS X吗 HOT 2
- 下载、配置、启动,然后服务状态异常 HOT 1
- 添加树莓派的支持 HOT 2
- 爱快的docker插件无法使用,装好内存为0/0b HOT 1
- 威联通的nas 怎么配置映射路径? HOT 5
- HTTPS配置提示无法找到证书 HOT 11
- docker部署缺少armv7l HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frpc.