mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-23 00:52:02 +01:00
Merge pull request #270 from buchdag/patch-1
Fix forced renewal of certificates
This commit is contained in:
commit
12e674899d
@ -70,7 +70,7 @@ update_certs() {
|
|||||||
params_d_str=""
|
params_d_str=""
|
||||||
[[ $DEBUG == true ]] && params_d_str+=" -v"
|
[[ $DEBUG == true ]] && params_d_str+=" -v"
|
||||||
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
|
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
|
||||||
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" && shift
|
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000"
|
||||||
|
|
||||||
hosts_array_expanded=("${!hosts_array}")
|
hosts_array_expanded=("${!hosts_array}")
|
||||||
# First domain will be our base domain
|
# First domain will be our base domain
|
||||||
|
Loading…
Reference in New Issue
Block a user