Hi.
First you need to create a sybolic link in the sites-enabled folder for the config to be available.
Furthermore I have problems with self-created certificates for https connections.
After not mentioning these in the conf the I could access mattermost.