wiki:org/operations/Infrastructure/support.torproject.org

Version 7 (modified by phoul, 6 years ago) (diff)

--

support.torproject.org

This is the deployment documentation for support.torproject.org.

Requirements

  • Apache2 (apache2)
  • Prosody (prosody)
  • Passenger (libapache2-mod-passenger)
  • pups

Configs

Apache2

Config location: /etc/apache2/apache2.conf

Example config: https://gist.githubusercontent.com/anonymous/1b7027d3a3f8434a06dd/raw/bb9c9de54ef4b522f295f00aa03f086205d70dd1/apache2.conf

Redirecting the BOSH port(as shown in the config above) is required for pups to function correctly. An example config has been provided above, and will be updated with the running config once it is deployed.

Prosody

Config location: /etc/prosody/prosody.cfg.lua

Example config: https://gist.githubusercontent.com/Phoul/e8438e9169dacbf43f34/raw/e1ddb3cde25bae4da0cb919010b1eddc3c70b763/prosody.cfg.lua

The main configuration for Prosody is enabling the BOSH module, as well as having two vhosts (one for anonymous XMPP, and one for authenticated). An example config has been provided above, and will be updated with the running config once it is deployed.