Skip to content

Commit 0ccd342

Browse files
committed
more comments
1 parent d486830 commit 0ccd342

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

examples/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Configuration for this docker image
22
nginx-certbot:
3+
# Diffie-Hellman parameter size. Falls back to the DHPARAM_SIZE environment variable or,
4+
# if that is unset, to '2048'.
35
dhparam-size: 2048
6+
# Certificate renewal interval. Falls back to the RENEWAL_INTERVAL environment variable
7+
# or, if that is unset, to '8d'.
48
renewal-interval: 8d
9+
# Boolean to enable nginx debug mode and more verbose logging output. Falls back to the
10+
# DEBUG environment variable or, if that is unset, to 'false'.
511
debug: false
612

713
# Certbot parameters.
@@ -24,6 +30,9 @@ certbot:
2430
# environment variable or, if that is unset, to 2048. The key size can be overriden on the
2531
# certificate level.
2632
rsa-key-size: 2048
33+
# Boolean to enable the Let's Encrypt staging servers. Falls back to the STAGING
34+
# environment variable or, if that is unset, to 'false'.
35+
staging: false
2736

2837
# Array of certificate specifications.
2938
# If the 'certificates' key exist (even if the array is empty) the automatic discovery of

src/scripts/run_certbot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ done
4949

5050
# Use the correct challenge URL depending on if we want staging or not.
5151
if [ "${certbot_staging}" = "1" ]; then
52-
debug "Using staging environment"
52+
debug "Using staging environment (${certbot_staging_url})"
5353
letsencrypt_url="${certbot_staging_url}"
5454
else
55-
debug "Using production environment"
55+
debug "Using production environment (${certbot_production_url})"
5656
letsencrypt_url="${certbot_production_url}"
5757
fi
5858

0 commit comments

Comments
 (0)