This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xd9Ac5F5177AA6a075921b149D8aa26717267D241 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x7e4A82344200a504782e36E2b077CED92594ECAF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $1 | |
docker-compose stop nginx | |
docker-compose run --rm -p 443:443 nginx certbot renew --post-hook "mv /etc/letsencrypt/keys/0001_key-certbot.pem /etc/letsencrypt/keys/0000_key-certbot.pem" | |
docker-compose start nginx |
OlderNewer