1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-29 02:46:18 +02:00

Change ENV variable from GENERATE_DHPARAM to DHPARAM_GENERATION

This commit is contained in:
Pan Teparak 2017-09-24 15:13:24 +07:00
parent a3b1d5b7ab
commit 31d2ed172b

View File

@ -16,8 +16,8 @@ fi
# Generate dhparam file if required
# Note: if $DHPARAM_BITS is not defined, generate-dhparam.sh will use 2048 as a default
# Note2: if $GENERATE_DHPARAM is set to false in environment variable, dh param generator will skip completely
/app/generate-dhparam.sh $DHPARAM_BITS $GENERATE_DHPARAM
# Note2: if $DHPARAM_GENERATION is set to false in environment variable, dh param generator will skip completely
/app/generate-dhparam.sh $DHPARAM_BITS $DHPARAM_GENERATION
# Compute the DNS resolvers for use in the templates
export RESOLVERS=$(awk '$1 == "nameserver" {print $2}' ORS=' ' /etc/resolv.conf | sed 's/ *$//g')