mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-22 20:42:04 +01:00
Renaming and adding documentation
This commit is contained in:
parent
b47755b875
commit
42ddbcb580
@ -3,7 +3,7 @@
|
||||
# shellcheck source=functions.sh
|
||||
source /app/functions.sh
|
||||
|
||||
SECONDS_TO_WAIT="${SECONDS_TO_WAIT:-3600}"
|
||||
CERTS_UPDATE_INTERVAL="${CERTS_UPDATE_INTERVAL:-3600}"
|
||||
ACME_CA_URI="${ACME_CA_URI:-"https://acme-v02.api.letsencrypt.org/directory"}"
|
||||
ACME_CA_TEST_URI="https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
DEFAULT_KEY_SIZE="${DEFAULT_KEY_SIZE:-4096}"
|
||||
@ -418,7 +418,7 @@ trap 'trap - EXIT' INT TERM
|
||||
update_certs "$@"
|
||||
|
||||
# Wait some amount of time
|
||||
echo "Sleep for ${SECONDS_TO_WAIT}s"
|
||||
sleep $SECONDS_TO_WAIT & pid=$!
|
||||
echo "Sleep for ${CERTS_UPDATE_INTERVAL}s"
|
||||
sleep $CERTS_UPDATE_INTERVAL & pid=$!
|
||||
wait
|
||||
pid=
|
||||
|
@ -23,4 +23,6 @@ You can also create test certificates per container (see [Test certificates](./L
|
||||
|
||||
* `DHPARAM_BITS` - Change the size of the Diffie-Hellman key generated by the container from the default value of 2048 bits. For example `--env DHPARAM_BITS=1024` to support some older clients like Java 6 and 7.
|
||||
|
||||
* `CA_BUNDLE` - This is a test only variable [for use with Pebble](https://github.com/letsencrypt/pebble#avoiding-client-https-errors). It changes the trusted root CA used by `acme.sh`, from the default Alpine trust store to the CA bundle file located at the provided path (inside the container). Do **not** use it in production unless you are running your own ACME CA.
|
||||
* `CA_BUNDLE` - This is a test only variable [for use with Pebble](https://github.com/letsencrypt/pebble#avoiding-client-https-errors). It changes the trusted root CA used by `acme.sh`, from the default Alpine trust store to the CA bundle file located at the provided path (inside the container). Do **not** use it in production unless you are running your own ACME CA.
|
||||
|
||||
* `CERTS_UPDATE_INTERVAL` - 1 hour by default, this defines how often the container will check if the certificates require update.
|
Loading…
Reference in New Issue
Block a user