diff --git a/README.md b/README.md index ff84d09..de38298 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ To customize the portfolio: /etc/xray/cert/ # SSL certificates directory ├── x.crt # SSL certificate ├── x.key # Private key -└── cert-renew.sh # Certificate renewal script +└── renew.sh # Certificate renewal script ``` ## 🔒 Security Features @@ -110,7 +110,7 @@ To customize the portfolio: Certificates are automatically renewed monthly via cron job. To manually renew: ```bash -bash ~/cert/etc/xray/cert/cert-renew.sh +bash ~/cert/etc/xray/cert/renew.sh ``` ### Nginx Configuration diff --git a/setup.sh b/setup.sh index a40aa1e..cbb7877 100644 --- a/setup.sh +++ b/setup.sh @@ -278,7 +278,7 @@ sudo mkdir -p /etc/xray/cert chmod +r /etc/xray/cert/x.key # Create certificate renewal script -cat >/etc/xray/cert/cert-renew.sh </etc/xray/cert/renew.sh <temp_cron -echo "0 1 1 * * bash /etc/xray/cert/cert-renew.sh" >>temp_cron +echo "0 1 1 * * bash /etc/xray/cert/renew.sh" >>temp_cron crontab temp_cron rm temp_cron