From 616eefaaa3b0136ba9177011b2e4bb25b1ac3381 Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 7 Mar 2020 21:03:45 +0100 Subject: [PATCH] Edit some comments in the code --- src/scripts/startup/create_dhparams.sh | 7 ++++--- src/scripts/util.sh | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/scripts/startup/create_dhparams.sh b/src/scripts/startup/create_dhparams.sh index 2e9da7e..c03b82c 100644 --- a/src/scripts/startup/create_dhparams.sh +++ b/src/scripts/startup/create_dhparams.sh @@ -1,9 +1,10 @@ #!/bin/bash # This method may take an extremely long time to complete, be patient. -# It should be possible to use the same dhparam file for all sites, just specify -# the same file path under the "ssl_dhparam" parameter in the Nginx server -# config. The file should be stored somewhere under /etc/letsencrypt/dhparams/ +# It should be possible to use the same dhparam file for all sites, just +# specify the same file path under the "ssl_dhparam" parameter in the Nginx +# server config. +# The created file should be stored somewhere under /etc/letsencrypt/dhparams/ # to ensure persistence between restarts. create_dhparam() { if [ -z "$DHPARAM_SIZE" ]; then diff --git a/src/scripts/util.sh b/src/scripts/util.sh index dafa7ee..7583f8e 100644 --- a/src/scripts/util.sh +++ b/src/scripts/util.sh @@ -91,9 +91,9 @@ auto_enable_configs() { done } -# Helper function to ask certbot for the given domain(s). The CERTBOT_EMAIL -# environment variable must be defined, so that Let's Encrypt may contact you -# in case of security issues. +# Helper function to ask certbot to request a certificate for the given +# domain(s). The CERTBOT_EMAIL environment variable must be defined, so that +# Let's Encrypt may contact you in case of security issues. get_certificate() { echo "Getting certificate for domain $1 on behalf of user $2" PRODUCTION_URL='https://acme-v02.api.letsencrypt.org/directory'