Caddy反代

一键安装

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh
#备用地址
wget -N --no-check-certificate https://www.moerats.com/usr/shell/Caddy/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh
#以下全部内容是一个整体,请修改2个域名后一起复制到SSH运行!
echo "xx.com {
 gzip
 tls [email protected]
 proxy / mx.xx.com:3000
}" > /usr/local/caddy/Caddyfile

证书会自己签发

/etc/init.d/caddy start
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注