Skip to content

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

@akomakom

Description

@akomakom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions