Closed bglmmz closed 1 year ago
关于caddy的root配置,我通过修改如下配置文件解决了: /lib/systemd/system/caddy.service
但是tls问题还是没有解决,参考: https://github.com/233boy/v2ray/issues/353 里面有位仁兄的解决方法,https和http 分开两份配置。 也是不起作用,caddy启动报错,说找不到证书: Error during parsing: Unable to load certificate and key files for 'xxxxxx.tk': open /etc/ssl/***
我看/lib/systemd/system/caddy.service里,有关于caddy的ssl路径,是/etc/ssl/caddy,难道是证书文件和私钥文件要放这里?但是看/etc/ssl/caddy的目录解构,不知道该怎么放,所以就没有试。。。
如果想走cf cdn,可以搭80 ws服务端,然后配合 cf worker实现走cdn https://www.529i.com/archives/772.html
@bglmmz 看看这个 我也没调好https://github.com/kullex/v2dock
curl https://getcaddy.com | bash -s personal tls.dns.cloudflare
reboot后,输入命令:systemctl status caddy,出现如下2个错误信息: a. ExecStart=/usr/local/bin/caddy -log stdout -log-timestamps=false -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp (code=exited, status=1/FAILURE)
b. /etc/caddy/Caddyfile:3 - Error during parsing: Setting up DNS provider 'cloudflare': cloudflare: some credentials