Skip to content

Commit c96bfeb

Browse files
committed
Update ssl-proxyconf.sh
1 parent 0c2ebf6 commit c96bfeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ssl-proxyconf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ ! -f $2/ssl-dhparam.pem 2>/dev/null ]; then
1111
fi
1212

1313
use_lets_encrypt_certificates() {
14-
echo "switching nginx to use Let's Encrypt certificate for $1"
14+
echo "switching proxy to use Let's Encrypt certificate for $1"
1515
sed '/#location.\/./,/#}/ s/#//; s/#listen/listen/g; s/#ssl_/ssl_/g' $3/conf.d/default.conf > $3/conf.d/default.conf.bak
1616
}
1717

@@ -31,7 +31,7 @@ wait_for_lets_encrypt() {
3131
sleep 5s & wait ${!}
3232
if [ -d "$2/live/$1" ]; then break; fi
3333
done
34-
fi;
34+
fi;
3535
use_lets_encrypt_certificates "$1" "$2" "$3"
3636
reload_proxy "$3"
3737
}

0 commit comments

Comments
 (0)