Skip to content

Commit

Permalink
Edit some comments in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlfredsson committed Mar 7, 2020
1 parent 90be944 commit 616eefa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/scripts/startup/create_dhparams.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 616eefa

Please sign in to comment.