mattermost-plugin-wrangler
mattermost-plugin-wrangler copied to clipboard
Plugin resources are loaded from mattermost domain disregarding context path
I have a Mattermost server behind nginx with a URL with a context path, eg https://MY-DOMAIN/mattermost/
(and Mattermost works fine)
When mattermost loads, I see the following URL in developer console with a 404:
https://MY-DOMAIN/plugins/com.github.matterpoll.matterpoll/api/v1/configuration
But it should be:
https://MY-DOMAIN/mattermost/plugins/com.github.matterpoll.matterpoll/api/v1/configuration
I am using the recommended nginx proxy configuration which does not cover /plugins
(nor should it). Since I have a context path, my nginx location block is set to location /mattermost { ...
. The mattermost system console has the site url set with the context path.
Wrangler commands still work, but the UI does not load. I've attempted to temporarily add /plugins
to the nginx proxied URLs, and the resource is then loaded correctly. I still did not discover any Wrangler UI (but I don't know where to look).
- Mattermost Server 7.5.2
- Wrangler Plugin 0.7.0