mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-27 02:24:40 +00:00
Update README.md
Add command line BackUp SSL.
This commit is contained in:
parent
65e35c1711
commit
26a1518c3b
1 changed files with 11 additions and 2 deletions
13
README.md
13
README.md
|
|
@ -29,14 +29,23 @@ To install your desired version you can add the version to the end of install co
|
||||||
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v1.7.1
|
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v1.7.1
|
||||||
```
|
```
|
||||||
|
|
||||||
# SSL
|
# SSL & BackUp
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get install certbot -y
|
apt-get install certbot -y
|
||||||
certbot certonly --standalone --agree-tos --register-unsafely-without-email -d yourdomain.com
|
certbot certonly --standalone --agree-tos --register-unsafely-without-email -d yourdomain.com
|
||||||
certbot renew --dry-run
|
certbot renew --dry-run
|
||||||
```
|
|
||||||
|
|
||||||
|
=============================================================================================
|
||||||
|
First Install tar : sudo apt-get install tar
|
||||||
|
|
||||||
|
Backup : tar zcvf /tmp/letsencrypt_backup_$(date +'%Y-%m-%d_%H%M').tar.gz /etc/letsencrypt
|
||||||
|
|
||||||
|
Check Backup: tar tvf /tmp/letsencrypt_backup_YEAR-MONTH-DAY_HOURMIUTE.tar.gz
|
||||||
|
|
||||||
|
Restore: tar zxvf /tmp/letsencrypt_backup_YEAR-MONTH-DAY_HOURMIUTE.tar.gz -C /
|
||||||
|
|
||||||
|
```
|
||||||
You also can use `x-ui` menu then select `16. SSL Certificate Management`
|
You also can use `x-ui` menu then select `16. SSL Certificate Management`
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue