mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
Change ENV variable from GENERATE_DHPARAM to DHPARAM_GENERATION
This commit is contained in:
parent
a3b1d5b7ab
commit
31d2ed172b
@ -16,8 +16,8 @@ fi
|
|||||||
|
|
||||||
# Generate dhparam file if required
|
# Generate dhparam file if required
|
||||||
# Note: if $DHPARAM_BITS is not defined, generate-dhparam.sh will use 2048 as a default
|
# 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
|
# Note2: if $DHPARAM_GENERATION is set to false in environment variable, dh param generator will skip completely
|
||||||
/app/generate-dhparam.sh $DHPARAM_BITS $GENERATE_DHPARAM
|
/app/generate-dhparam.sh $DHPARAM_BITS $DHPARAM_GENERATION
|
||||||
|
|
||||||
# Compute the DNS resolvers for use in the templates
|
# Compute the DNS resolvers for use in the templates
|
||||||
export RESOLVERS=$(awk '$1 == "nameserver" {print $2}' ORS=' ' /etc/resolv.conf | sed 's/ *$//g')
|
export RESOLVERS=$(awk '$1 == "nameserver" {print $2}' ORS=' ' /etc/resolv.conf | sed 's/ *$//g')
|
||||||
|
Loading…
Reference in New Issue
Block a user