Update certificate directory and renewal script paths

Changed SSL certificate storage from /etc/xray/cert to ~/cert and updated all related paths in README.md and setup.sh. Renamed the renewal script to cert-renew.sh and adjusted cron job and Xray config to use the new locations for improved user accessibility.
This commit is contained in:
xixu-me committed 2025-07-14 18:37:00 +08:00
1 parent 858c8a436a
commit e51c9e38fa
2 files changed
+15 -15

No files matched your search

+5 -5
View File
@@ -90,10 +90,10 @@ To customize the portfolio:
```text
/var/www/html/ # Web root directory
├── index.html # Portfolio website
/etc/xray/cert/ # SSL certificates directory
├── x.crt # SSL certificate
├── x.key # Private key
└── renew.sh # Certificate renewal script
~/cert/ # SSL certificates directory
├── x.crt # SSL certificate
├── x.key # Private key
└── cert-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/renew.sh
bash ~/cert/cert-renew.sh
```
### Nginx Configuration