Add ssl support for the probe

Hosts ending in :443 are treated as SSL. There is also a
--probe.insecure flag, for using it in development environments where
SSL cannot be verified.
This commit is contained in:
Paul Bellamy
2015-10-19 17:32:32 +01:00
parent 520365ac4e
commit 986abd24cd
3 changed files with 36 additions and 12 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ while true; do
shift
fi
PROBE_ARGS="$PROBE_ARGS -token=$ARG_VALUE"
echo "scope.weave.works:80" >/etc/weave/apps
echo "scope.weave.works:443" >/etc/weave/apps
touch /etc/service/app/down
;;
--no-app)