Last active
April 16, 2019 14:35
-
-
Save mhoran/2339e2d4a47994ff552f5705228dc81d to your computer and use it in GitHub Desktop.
Configuration for lego peroidic script
This file contains 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
# generate two certificates | |
weekly_lego_certificates="one two" | |
# account for the certificates | |
weekly_lego_account="matt@matthoran.com" | |
# default flags if not overridden per certificate | |
weekly_lego_global_flags="--path /usr/local/etc/ssl/lego --email ${weekly_lego_account} --http --http.webroot /usr/local/www/acme" | |
weekly_lego_renew_flags="--days 30" | |
# | |
# certificate one | |
# | |
# script to source before running lego | |
weekly_lego_certificate_one_environment="/usr/local/etc/acme/certificate_one.sh" | |
# override default flags | |
weekly_lego_certificate_one_global_flags="--path /usr/local/etc/ssl/lego --email matt@matthoran.com --dns route53" | |
# add --domains flag to flags for this certificate for each domain in list | |
weekly_lego_certificate_one_domains="matthoran.com www.matthoran.com friction.matthoran.com" | |
# | |
# certificate two | |
# | |
# uses default flags, adds --domains flags for each domain in list | |
weekly_lego_certificate_two_domains="wherestheparty.at www.wherestheparty.at" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment