logiciels_libres:mattermost
                Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| logiciels_libres:mattermost [2021/10/08 17:08] – créée klorobionten | logiciels_libres:mattermost [2021/10/08 17:18] (Version actuelle) – klorobionten | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Mattermost Server ====== | ====== Mattermost Server ====== | ||
| - | How to host mattermost on your own serv ? | + | How to host mattermost on your own server | 
| + | ===== Source Code ===== | ||
| - | sudo a2enmod proxy_wstunnel | + | Download the source : | 
| - | and | + | < | 
| + | wget https:// | ||
| + | </ | ||
| + | ===== Apache2 modules ===== | ||
| + | |||
| + | |||
| + | You need to enable the following apache modules: **mod_rewrite , mod_proxy, mod_proxy_http, | ||
| + | |||
| + | You can use the apache2 enable mod command, a2enmod : | ||
| + | |||
| + | < | ||
| + | sudo a2enmod proxy_wstunnel | ||
| + | </ | ||
| + | and | ||
| + | < | ||
| sudo a2enmod headers | sudo a2enmod headers | ||
| + | </ | ||
| + | ... and so on. | ||
| + | |||
| + | ===== Apache2 configuration - SSL ===== | ||
| + | |||
| + | Under / | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | ServerName mattermost.yourdomain.org | ||
| + | |||
| + | SSLCertificateFile / | ||
| + | SSLCertificateKeyFile / | ||
| + | Include / | ||
| + | |||
| + | ProxyPreserveHost On | ||
| + | |||
| + | < | ||
| + |  | ||
| + | </ | ||
| + | |||
| + | # Set web sockets | ||
| + | RewriteEngine On | ||
| + | RewriteCond %{REQUEST_URI} / | ||
| + | RewriteCond %{HTTP: | ||
| + | RewriteCond %{HTTP: | ||
| + | RewriteRule .* ws:// | ||
| + | |||
| + | < | ||
| + | Require all granted | ||
| + | ProxyPass http:// | ||
| + | ProxyPassReverse http:// | ||
| + | ProxyPassReverseCookieDomain 127.0.0.1 mattermost.yourdomain.org | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
logiciels_libres/mattermost.1633705723.txt.gz · Dernière modification : 2021/10/08 17:08 de klorobionten
                
                