Hello @elias,
this seems to be a problem with mattermost. Comparing it to gogs (also written in go): There I have to define the subfolder address in the config file. Is it possible that this is not yet supported by mattermost?
Regards
Timo Schindler