Skip to content

Instantly share code, notes, and snippets.

@dorokhin
Created May 6, 2021 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorokhin/57872ce2effcad0a09411e405d9d7fc0 to your computer and use it in GitHub Desktop.
Save dorokhin/57872ce2effcad0a09411e405d9d7fc0 to your computer and use it in GitHub Desktop.
Let's encrypt renew config

Let's encrypt renew config

# /etc/letsencrypt/renewal/domain.name.conf

[renewalparams]
account =
authenticator = nginx
installer = nginx
server = https://acme-v02.api.letsencrypt.org/directory
pre_hook = service nginx stop
post_hook = killall nginx && service nginx start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment