Merge branch 'config/update-mongoose' into 'develop'
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>
Fri, 20 Sep 2019 13:21:07 +0000 (13:21 +0000)
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>
Fri, 20 Sep 2019 13:21:07 +0000 (13:21 +0000)
Make it obvious how to support dual stack for MongooseIM

See merge request pleroma/pleroma!1702

installation/pleroma-mongooseim.cfg

index d7567321f2a36d218992f68c896f31b4e31030ae..576f83541e0897413437f79584cee95155af50fa 100755 (executable)
       ]}
   ]},
 
-  { 5222, ejabberd_c2s, [
+  %% If you want dual stack, you have to clone this entire config stanza
+  %% and change the bind to "::"
+  { {5222, "0.0.0.0"}, ejabberd_c2s, [
 
                        %%
                        %% If TLS is compiled in and you installed a SSL
   %%                   {max_stanza_size, 65536}
   %%                  ]},
 
-  { 5269, ejabberd_s2s_in, [
+  %% If you want dual stack, you have to clone this entire config stanza
+  %% and change the bind to "::"
+  { {5269, "0.0.0.0"}, ejabberd_s2s_in, [
                           {shaper, s2s_shaper},
                           {max_stanza_size, 131072},
                           {protocol_options, ["no_sslv3"]}