mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-23 17:32:49 +01:00
add --force-renew arg to update_cert
Sets a minimum certificate validity of 90 days, meaning forced renewal for LE certificates.
This commit is contained in:
parent
86eef9ffb9
commit
f6f2874003
@ -70,6 +70,7 @@ update_certs() {
|
||||
params_d_str=""
|
||||
[[ $DEBUG == true ]] && params_d_str+=" -v"
|
||||
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
|
||||
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" && shift
|
||||
|
||||
hosts_array_expanded=("${!hosts_array}")
|
||||
# First domain will be our base domain
|
||||
|
Loading…
Reference in New Issue
Block a user