Integrating Mattermost into Web/DeskApp
As far as I can tell, the only way to now intergrate Mattermost into Web/DeskApp is to use the WebApp Intranet plugin. Am I correct??
Assuming I am, I have configured the plugin as so:
<?php define('PLUGIN_INTRANET_USER_DEFAULT_ENABLE', true); define('PLUGIN_INTRANET_BUTTON_TITLE', 'Mattermost'); define('PLUGIN_INTRANET_URL', 'https://mattermost/');
When I do this, I see a “Loading” GIF with a Cert Error behind but greyed out so I can’t hit continue (I’m using a self-signed cert which I have previously accepting in the same browser)
If I change the URL to use normal HTTP like:
I see a “Loading” GIF with a blank screen…
I’m guessing that this is because of some secure/insecure problem in the browser!
So I’ve tried to modify the WebApp server to perform a reverse look up using a custom site config hoping to get around this problem: (The Mattermost server is available on port 8065 (from the Application) and 80 and 443 (from Nginx)
ProxyPass "/mattermost" "http://mattermost:8065/" ProxyPassReverse "/mattermost" "http://mattermost:8065/"
But if I test the webpage (i.e. http://mail/mattermost) all I get is a “Cannot connect to Mattermost” notice on the webpage.
Any ideas how to get this to work?
Sometimes I am wondering why I am writing documentation…