mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
Merge branch 'main' of https://github.com/Nilstrieb/vps into main
This commit is contained in:
commit
31442bf209
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