一键安装

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
说点什么
支持Markdown语法
好耶,沙发还空着ヾ(≧▽≦*)o
Loading...