修改文件名称, 修改脚本内容
This commit is contained in:
parent
7fb0ac6634
commit
7c5f6196c2
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo $(date +%F%n%T)
|
||||
|
||||
mkdir -p /root/xray_cert
|
||||
sudo /root/.acme.sh/acme.sh --install-cert --fullchain-file /root/xray_cert/xray.crt --key-file /root/xray_cert/xray.key --ecc -d a01.wingogo.tk
|
||||
echo "Xray Certificates Renewed"
|
||||
|
||||
sudo systemctl restart xray
|
||||
echo "Xray Restarted"
|
||||
15
renew_ssl_cert.sh
Normal file
15
renew_ssl_cert.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# echo $(date +%F%n%T)
|
||||
|
||||
# mkdir -p /root/xray_cert
|
||||
# sudo /root/.acme.sh/acme.sh --install-cert --fullchain-file /root/xray_cert/xray.crt --key-file /root/xray_cert/xray.key --ecc -d a01.wingogo.tk
|
||||
# echo "Xray Certificates Renewed"
|
||||
|
||||
# sudo systemctl restart xray
|
||||
# echo "Xray Restarted"
|
||||
|
||||
|
||||
systemctl stop nginx;
|
||||
acme.sh --renew -d 你的域名 --ecc;
|
||||
systemctl restart nginx;
|
||||
Loading…
Reference in New Issue
Block a user