Skip to content

Commit

Permalink
Fix certbot renewal.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Apr 14, 2024
1 parent 8675f9d commit 276ea5b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ebextensions/21-certbot.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
#
# commands:
# "01-certbot":
# test: test ! -f /opt/certbot.done
# test: test ! -f /usr/local/bin/certbot
# command: |
# pip3 install certbot
# touch /opt/certbot.done
#
# files:
# /opt/certbot-renew:
Expand All @@ -33,7 +32,7 @@
# #!/bin/bash -e
# # Sleep randomly, up to 10 minutes, to make it less likely that two servers try to renew at the same time
# sleep $(($RANDOM%600))
# certbot renew --debug
# /usr/local/bin/certbot renew --debug
# # Reload the nginx configuration every time, since there may be multiple servers running. Using --renew-hook would only reload nginx on the server that made the renewal.
# systemctl reload nginx.service
#
Expand Down

0 comments on commit 276ea5b

Please sign in to comment.