File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1105,7 +1105,8 @@ if [ "$nginx" = 'yes' ]; then
11051105 fi
11061106
11071107 # Generating dhparam.
1108- echo " (*) Enabling HTTPS Strict Transport Security (HSTS) support, this will take some time. Please wait..."
1108+ echo " (*) Enabling HTTPS Strict Transport Security (HSTS) support,"
1109+ echo -n " this will take some time. Please wait..."
11091110 openssl dhparam 4096 -out /etc/ssl/dhparam.pem > /dev/null 2>&1 &
11101111 BACK_PID=$!
11111112
Original file line number Diff line number Diff line change @@ -1084,7 +1084,8 @@ if [ "$nginx" = 'yes' ]; then
10841084 fi
10851085
10861086 # Generating dhparam.
1087- echo " (*) Enabling HTTPS Strict Transport Security (HSTS) support, this will take some time. Please wait..."
1087+ echo " (*) Enabling HTTPS Strict Transport Security (HSTS) support,"
1088+ echo -n " this will take some time. Please wait..."
10881089 openssl dhparam 4096 -out /etc/ssl/dhparam.pem > /dev/null 2>&1 &
10891090 BACK_PID=$!
10901091
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ if [ ! -z "$BACKEND_PORT" ]; then
7373fi
7474
7575# Generating dhparam.
76- if [ -z /etc/ssl/dhparam.pem ]; then
76+ if [ ! -e /etc/ssl/dhparam.pem ]; then
7777 echo " (*) Enabling HTTPS Strict Transport Security (HSTS) support"
7878 echo -n " This will take some time, please wait..."
7979 openssl dhparam 4096 -out /etc/ssl/dhparam.pem > /dev/null 2>&1 &
You can’t perform that action at this time.
0 commit comments