prosody: c2s encryption flag from environment

* prosody: c2s encryption flag from environment
This commit is contained in:
Aaron van Meerten
2024-01-22 15:00:55 -06:00
committed by GitHub
parent cc34823c63
commit 4eb55758fe
2 changed files with 4 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ elif [[ "$PROSODY_MODE" == "brewery" ]]; then
# ensure proper certs are generated
export XMPP_AUTH_DOMAIN="$JVB_XMPP_AUTH_DOMAIN"
# brewery mode requires C2S encryption
export C2S_REQUIRE_ENCRYPTION="true"
export PROSODY_C2S_REQUIRE_ENCRYPTION="true"
mkdir -p /config/rules.d
tpl /defaults/rules.d/jvb_muc_presence_filter.pfw > /config/rules.d/jvb_muc_presence_filter.pfw