Outils pour utilisateurs

Outils du site


logiciels_libres:mattermost

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Dernière révisionLes deux révisions suivantes
logiciels_libres:mattermost [2021/10/08 17:13] klorobiontenlogiciels_libres:mattermost [2021/10/08 17:16] klorobionten
Ligne 29: Ligne 29:
 ===== Apache2 configuration - SSL ===== ===== Apache2 configuration - SSL =====
  
 +Under /etc/apache2/sites-available/000-default-le-ssl.conf
 +
 +<code>
 +<IfModule mod_ssl.c>
 +<VirtualHost *:443>
 +ServerName mattermost.yourdomain.org
 +
 +SSLCertificateFile /etc/letsencrypt/live/mattermost.yourdomain.org/fullchain.pem
 +SSLCertificateKeyFile /etc/letsencrypt/live/mattermost.yourdomain.org/privkey.pem
 +Include /etc/letsencrypt/options-ssl-apache.conf
 +
 +ProxyPreserveHost On
 +
 +<IfModule mod_security2.c>
 +   SecRuleEngine Off
 +</IfModule>
 +
 +  # Set web sockets
 +  RewriteEngine On
 +  RewriteCond %{REQUEST_URI} /api/v[0-9]+/(users/)?websocket [NC]
 +  RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
 +  RewriteCond %{HTTP:CONNECTION} \bUpgrade\b [NC]
 +  RewriteRule .* ws://127.0.0.1:8065%{REQUEST_URI} [P,QSA,L]
 +
 +  <Location />
 +        Require all granted
 +        ProxyPass http://127.0.0.1:8065/
 +        ProxyPassReverse http://127.0.0.1:8065/
 +        ProxyPassReverseCookieDomain 127.0.0.1 mattermost.yourdomain.org
 +  </Location>
 +
 +</VirtualHost>
 +</IfModule>
 +
 +
 +</code>
  
logiciels_libres/mattermost.txt · Dernière modification : 2021/10/08 17:18 de klorobionten