Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

How to change http to https url in docker

$
0
0

Hi @hitesh
There is a place to put your certificates, if you are using the multi-container version. If you are using the preview, I don't think you can do it. The volume is /cert for the web container.
Once you put your certificates (for the domain you will use) then you need to publish the port (in the docker-compose.yml file). You need to enable the environment variable for MATTERMOST_ENABLE_SSL to true. Rebuild the containers (delete previous ones if you already ran it before by doing docker-compose rm and start new ones with docker-compose up -d
That should handle it.
For more details see here: https://github.com/mattermost/mattermost-docker
I personally used nginx reverse proxy docker image. But that's because I needed to handle multiple sites in the same server.


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>