In a new 5.37.0 install using a subpath, font files are not found because the subpath is not in the URL.
I installed a new instance of Mattermost 5.37.0 on a subpath behind NGINX. I set the subpath in the config.json SiteURL, and everything appears to be retrieved correctly except that font files (.woff, .woff2) are not (404 error). It looks like the subpath is not added to the URL for these files. For example, https://…/static/files/3bd5f5c5dd54ccb0c7c26a01c3e99235.woff2. Other files on the “static” path, such as the JS files and image files, have the subpath and are retrieved. After the files were not loaded, I tried setting the subpath using
./mattermost config subpath --path /..., but it didn’t make a difference. Should I be adding some other configuration?
Steps to reproduce
New 5.37.0 install configured with a subpath using SiteURL.
404 errors for .woff, and .woff2 files, and many characters are not shown correctly in the UI.