Print a warning unless they use a proxy

If you try to connect from a secure connection
to a insecure connection; Most modern browser
block the request and flag it as mixed-content.
This commit is contained in:
Lukas Matt 2014-11-13 11:41:13 +01:00
parent 9f827b9309
commit 0308b70287

View file

@ -144,6 +144,18 @@ vines=0
if [ "$chat" = "true" ] && [ "$chat_server" = "true" ]
then
vines=1
if [ "$chat_bosh_proxy" = "false" ]
then
warning "
*****************************************************************
You enabled the chat feature but haven't configured BOSH! That
could lead to mixed-content problems with the http clients. Please
think about editing your proxy configuration as described in:
diaspora.yml.example
*****************************************************************
"
fi
fi
# Start Diaspora