1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-25 06:36:08 +03:00

enable caddy

This commit is contained in:
next-autumn 2021-04-13 10:41:33 +08:00
parent dc38de67d5
commit b1bc74104d

View File

@ -400,6 +400,7 @@ namespace ProxySU_Core.Models.Developers
RunCmd("curl -o caddy_install.sh https://raw.githubusercontent.com/proxysu/shellscript/master/Caddy-Naive/caddy-naive-install.sh"); RunCmd("curl -o caddy_install.sh https://raw.githubusercontent.com/proxysu/shellscript/master/Caddy-Naive/caddy-naive-install.sh");
RunCmd("yes | bash caddy_install.sh"); RunCmd("yes | bash caddy_install.sh");
RunCmd("rm -rf caddy_install.sh"); RunCmd("rm -rf caddy_install.sh");
RunCmd("systemctl enable caddy.service");
} }
protected void UninstallCaddy() protected void UninstallCaddy()