Thats completely fine to have another config file in NGINX for the available sites.
As far as I can tell it all seems good.
one last question, what happens if from within the same network you try to access http://192.168.40.26:8065
? are you able to load Mattermost?