mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
remove useless certbot renew command
This commit is contained in:
parent
5f2304ea29
commit
a19cb404ba
1 changed files with 1 additions and 5 deletions
|
|
@ -4,10 +4,6 @@ sudo certbot certonly --standalone
|
|||
```
|
||||
nilstrieb.dev,private-docker-registry.nilstrieb.dev
|
||||
```
|
||||
```sh
|
||||
sudo certbot renew --pre-hook "docker stop nginx" --post-hook "docker start nginx"
|
||||
```
|
||||
|
||||
```sh
|
||||
sudo tee /etc/letsencrypt/renewal-hooks/pre/001-stop-nginx.sh > /dev/null <<EOF
|
||||
#!/usr/bin/env bash
|
||||
|
|
@ -21,4 +17,4 @@ EOF
|
|||
|
||||
sudo chmod +x /etc/letsencrypt/renewal-hooks/pre/001-stop-nginx.sh
|
||||
sudo chmod +x /etc/letsencrypt/renewal-hooks/post/001-start-nginx.sh
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue