Difference between revisions of "Poddery - Diaspora, Matrix and XMPP"

Changed order of SSL configuration
(Reorganized steps in actual order)
(Changed order of SSL configuration)
Line 117: Line 117:


save.poddery.com repo is maintained as a sub module in poddery.com repo. See this tutorial -> https://chrisjean.com/git-submodules-adding-using-removing-and-updating/ for working with git submodules.
save.poddery.com repo is maintained as a sub module in poddery.com repo. See this tutorial -> https://chrisjean.com/git-submodules-adding-using-removing-and-updating/ for working with git submodules.
== Backend Services ==
=== nginx ===
Front-end for Diaspora and Matrix.
=== PostgreSQL ===
Backend for Matrix.
=== MySQL ===
Backend for Diaspora.
TODO: consider migrating to PostgreSQL to optimize resources (we can reduce one service and RAM usage).
=== sslh ===
Port multiplexer to allow XMPP and Diasporato share 443 port. This allows us to fool stupid firewalls which blocks all ports except 80 and 443 (hence XMPP).


=== SSL/TLS certificates ===
=== SSL/TLS certificates ===
Line 136: Line 155:
  32 2 * * 1 /etc/init.d/nginx reload
  32 2 * * 1 /etc/init.d/nginx reload
  34 2 * * 1 /etc/init.d/prosody reload
  34 2 * * 1 /etc/init.d/prosody reload
== Backend Services ==
=== nginx ===
Front-end for Diaspora and Matrix.
=== PostgreSQL ===
Backend for Matrix.
=== MySQL ===
Backend for Diaspora.
TODO: consider migrating to PostgreSQL to optimize resources (we can reduce one service and RAM usage).
=== sslh ===
Port multiplexer to allow XMPP and Diaspora to share 443 port. This allows us to fool stupid firewalls which blocks all ports except 80 and 443 (hence XMPP).


=== Handling critical data ===
=== Handling critical data ===