web: fix bosh for subdomains
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
2fdc643e7c
commit
3af59c6d84
@@ -41,11 +41,7 @@ config.hosts.anonymousdomain = '{{ $XMPP_GUEST_DOMAIN }}';
|
|||||||
config.hosts.authdomain = '{{ $XMPP_DOMAIN }}';
|
config.hosts.authdomain = '{{ $XMPP_DOMAIN }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ if $ENABLE_SUBDOMAINS -}}
|
|
||||||
config.bosh = '/' + subdir + 'http-bind';
|
|
||||||
{{ else -}}
|
|
||||||
config.bosh = '/http-bind';
|
config.bosh = '/http-bind';
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
{{ if $ENABLE_XMPP_WEBSOCKET -}}
|
{{ if $ENABLE_XMPP_WEBSOCKET -}}
|
||||||
{{ if $ENABLE_SUBDOMAINS -}}
|
{{ if $ENABLE_SUBDOMAINS -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user