<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Mattermost</id>
	<title>Mattermost - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Mattermost"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Mattermost&amp;action=history"/>
	<updated>2026-05-27T20:50:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Mattermost&amp;diff=13071&amp;oldid=prev</id>
		<title>Klinger: [Category:Web Applications]]</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Mattermost&amp;diff=13071&amp;oldid=prev"/>
		<updated>2024-06-05T17:46:58Z</updated>

		<summary type="html">&lt;p&gt;[Category:Web Applications]]&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:46, 5 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l74&quot;&gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Applications]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Applications]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Server]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Server]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Messaging&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Web Applications&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-13064:rev-13071:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Klinger</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Mattermost&amp;diff=13064&amp;oldid=prev</id>
		<title>Mic92: imported from old wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Mattermost&amp;diff=13064&amp;oldid=prev"/>
		<updated>2024-06-05T07:41:45Z</updated>

		<summary type="html">&lt;p&gt;imported from old wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://mattermost.com/ Mattermost] is an open source, self-hosted Slack-alternative. As an alternative to proprietary SaaS messaging, Mattermost brings all your team communication into one place, making it searchable and accessible anywhere.&amp;lt;ref&amp;gt;https://wiki.archlinux.org/title/Mattermost&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Add &amp;lt;code&amp;gt;mattermost&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;environment.systemPackages&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
environment.systemPackages = with pkgs; [&lt;br /&gt;
  mattermost&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
=== Mattermost ===&lt;br /&gt;
To setup Mattermost, you need to enable its service, and provide it with a site url.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
services.mattermost = {&lt;br /&gt;
  enable = true;&lt;br /&gt;
  siteUrl = &amp;quot;https://mattermost.example.com&amp;quot;; # Set this to the URL you will be hosting the site on.&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a rebuild, Mattermost will now be accessible at &amp;lt;code&amp;gt;http://127.0.0.1:8065&amp;lt;/code&amp;gt;. To set it up to match your &amp;lt;code&amp;gt;siteUrl&amp;lt;/code&amp;gt;, follow the Nginx config below.&lt;br /&gt;
&lt;br /&gt;
=== Nginx ===&lt;br /&gt;
While optional, if you are hosting Mattermost alongside other web services, or need SSL (https), you will likely want to set up a web server like Nginx.&lt;br /&gt;
&lt;br /&gt;
==== Installation ====&lt;br /&gt;
Add &amp;lt;code&amp;gt;nginx&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;environment.systemPackages&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
environment.systemPackages = with pkgs; [&lt;br /&gt;
  mattermost&lt;br /&gt;
  nginx&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
The following is an example Nginx setup that enables SSL, and configures &amp;lt;code&amp;gt;mattermost.example.com&amp;lt;/code&amp;gt; to route to Mattermost.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
# Allow ports 80 and 443 for Nginx&lt;br /&gt;
networking.firewall.allowedTCPPorts = [ 80 443 ];&lt;br /&gt;
&lt;br /&gt;
# Set up for SSL certification&lt;br /&gt;
security.acme = {&lt;br /&gt;
  acceptTerms = true;&lt;br /&gt;
  defaults.email = &amp;quot;webmaster@example.com&amp;quot;; # Replace with your preferred email address.&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
# Configure Nginx&lt;br /&gt;
services.nginx = {&lt;br /&gt;
  enable = true;&lt;br /&gt;
  recommendedProxySettings = true;&lt;br /&gt;
  recommendedTlsSettings = true;    &lt;br /&gt;
  virtualHosts = {&lt;br /&gt;
    # Replace with the domain from your siteUrl&lt;br /&gt;
    &amp;quot;mattermost.example.com&amp;quot; = {&lt;br /&gt;
      forceSSL = true; # Enforce SSL for the site&lt;br /&gt;
      enableACME = true; # Enable SSL for the site&lt;br /&gt;
      locations.&amp;quot;/&amp;quot; = {&lt;br /&gt;
        proxyPass = &amp;quot;http://127.0.0.1:8065&amp;quot;; # Route to Mattermost&lt;br /&gt;
        proxyWebsockets = true;&lt;br /&gt;
      };&lt;br /&gt;
    };&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a rebuild, Mattermost will now be accessible at &amp;lt;code&amp;gt;siteUrl&amp;lt;/code&amp;gt; (assuming you have configured your DNS).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Applications]]&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Messaging]]&lt;/div&gt;</summary>
		<author><name>Mic92</name></author>
	</entry>
</feed>