web: fix bosh for subdomains

This commit is contained in:
Aaron van Meerten
2023-03-29 09:52:28 -05:00
committed by Saúl Ibarra Corretgé
parent 2fdc643e7c
commit 3af59c6d84

View File

@@ -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 -}}