mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-10-30 18:52:25 +00:00
Allow passing DHPARAM_BITS via env, lower bits to 256 for unit tests
This commit is contained in:
1 parent
dffc0c47cf
commit
7d253dd0f3
3 files changed
+10
-5
No files matched your search
@@ -15,7 +15,8 @@ if [[ $DOCKER_HOST = unix://* ]]; then
|
||||
fi
|
||||
|
||||
# Generate dhparam file if required
|
||||
/app/generate-dhparam.sh
|
||||
# Note: if $DHPARAM_BITS is not defined, generate-dhparam.sh will use 2048 as a default
|
||||
/app/generate-dhparam.sh $DHPARAM_BITS
|
||||
|
||||
# If the user has run the default command and the socket doesn't exist, fail
|
||||
if [ "$socketMissing" = 1 -a "$1" = forego -a "$2" = start -a "$3" = '-r' ]; then
|
||||
|
||||
Reference in new issue
Block a user