From ff0a7237117c628ebfaedd697b7a7be33b7bc1a1 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Sat, 8 Feb 2020 20:11:50 +0000 Subject: [PATCH] Combine https page into this page --- Section-Mattermost-(basic).md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Section-Mattermost-(basic).md b/Section-Mattermost-(basic).md index 3fdbfda..cb88791 100644 --- a/Section-Mattermost-(basic).md +++ b/Section-Mattermost-(basic).md @@ -2,6 +2,28 @@ **Create a dedicated user (a new account specifically for matterbridge) first. It will not relay messages from yourself if you use your account** +## HTTPS (secure) + +```toml +[mattermost.mymattermost] +#The mattermost hostname. (do not prefix it with http or https) +Server="yourmattermostserver.domain:443" + +#the team name as can be seen in the mattermost webinterface URL +#in lowercase, without spaces +Team="yourteam" + +#login/pass of your bot. +#Use a dedicated user for this and not your own! +Login="yourlogin" +Password="yourpass" + +RemoteNickFormat="[{PROTOCOL}] <{NICK}> " +PrefixMessagesWithNick=true +``` + +## HTTP (unsecure) + ```toml [mattermost.mymattermost] #The mattermost hostname. (do not prefix it with http or https) @@ -16,8 +38,8 @@ Team="yourteam" Login="yourlogin" Password="yourpass" -#Enable this (set to true) to make a http connection -#(instead of https) to your mattermost. +# Set to `true` to connect to your mattermost +# instance using HTTPS instead of HTTP. NoTLS=false RemoteNickFormat="[{PROTOCOL}] <{NICK}> " PrefixMessagesWithNick=true