We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2ebf6 commit c96bfebCopy full SHA for c96bfeb
ssl-proxyconf.sh
@@ -11,7 +11,7 @@ if [ ! -f $2/ssl-dhparam.pem 2>/dev/null ]; then
11
fi
12
13
use_lets_encrypt_certificates() {
14
- echo "switching nginx to use Let's Encrypt certificate for $1"
+ echo "switching proxy to use Let's Encrypt certificate for $1"
15
sed '/#location.\/./,/#}/ s/#//; s/#listen/listen/g; s/#ssl_/ssl_/g' $3/conf.d/default.conf > $3/conf.d/default.conf.bak
16
}
17
@@ -31,7 +31,7 @@ wait_for_lets_encrypt() {
31
sleep 5s & wait ${!}
32
if [ -d "$2/live/$1" ]; then break; fi
33
done
34
- fi;
+ fi;
35
use_lets_encrypt_certificates "$1" "$2" "$3"
36
reload_proxy "$3"
37
0 commit comments