Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin resources are loaded from mattermost domain disregarding context path #148

Open
akomakom opened this issue Feb 15, 2023 · 0 comments

Comments

@akomakom
Copy link

akomakom commented Feb 15, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant