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:
parent
9f827b9309
commit
0308b70287
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue