nethserver:mattermost
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | nethserver:mattermost [2024/02/09 17:10] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Nethserver / Mattermost ====== | ||
+ | Trucs pour l' | ||
+ | https:// | ||
+ | |||
+ | Mattermost est sur une VM Nethserver sur un nethserver | ||
+ | |||
+ | Installer le paquet Mattermost normalement (je ne sais pas si le ldap est bien pris en compte pour le moment) | ||
+ | |||
+ | ===== virtual.conf ===== | ||
+ | fabriquer un service proxy du webmin | ||
+ | |||
+ | / | ||
+ | * virtual.conf sur le nethserver d' | ||
+ | < | ||
+ | # Virtual Host chat.monsite.xyz - *:443 | ||
+ | # Description : mattermost nethserver VM | ||
+ | < | ||
+ | ServerName chat.monsite.xyz | ||
+ | SSLEngine on | ||
+ | ProxyPreserveHost On | ||
+ | # setup the proxy | ||
+ | <Proxy *> | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | # Set web sockets | ||
+ | RewriteEngine On | ||
+ | RewriteCond %{REQUEST_URI} / | ||
+ | RewriteCond %{HTTP: | ||
+ | RewriteCond %{HTTP: | ||
+ | RewriteRule .* ws:// | ||
+ | RewriteCond %{DOCUMENT_ROOT}/ | ||
+ | |||
+ | # Force SSL redirect | ||
+ | RewriteCond %{HTTPS} !=on | ||
+ | RewriteRule (.*) https:// | ||
+ | < | ||
+ | Require all granted | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | ProxyPassReverseCookieDomain 192.168.1.163 chat.monsite.org | ||
+ | </ | ||
+ | < | ||
+ | Require all granted | ||
+ | ProxyPass http:// | ||
+ | ProxyPassReverse http:// | ||
+ | ProxyPassReverseCookieDomain 192.168.1.163 chat.monsite.org | ||
+ | </ | ||
+ | </ | ||
+ | # | ||
+ | # Virtual Host chat.monsite.xyz - *:80 | ||
+ | # Description : mattermost nethserver VM | ||
+ | < | ||
+ | ServerName chat.monsite.xyz | ||
+ | # Start Rewrite Engine | ||
+ | RewriteEngine On | ||
+ | # forcessl_redirect | ||
+ | RewriteCond %{HTTPS} !=on | ||
+ | RewriteRule (.*) https:// | ||
+ | RedirectMatch 301 ^(? | ||
+ | </ | ||
+ | </ | ||
+ | * virtual.conf sur le nethserver mattermost : celui fabriqué fonctionne (zz_mattermost.conf) | ||
+ | |||
+ | ===== / | ||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | ===== Intégration des utilisateurs existant ===== | ||
+ | |||
+ | Le ldap à été liée sur le serveur principal, récupération des utilisateurs ldap | ||
+ | mattermost-bulk-user-create Password, | ||
+ | |||
+ | Donne le role d' | ||
+ | |||
+ | sudo -u mattermost bin/ | ||
+ | |||
+ | https:// | ||
nethserver/mattermost.txt · Dernière modification : 2024/02/09 17:10 de 127.0.0.1