mattermost / mattermost/docker

How to configure for HTTP only?

Open
#87 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
533
Forks
284
PR merge metrics
No merged PRs in 30d

Description

The reason is because, in my place of work, the SSL termination is already performed by the load balancer / gateway, so we really would like the Docker container to _only_ respond to HTTP.

So, it is okay for Mattermost to insist that we access using `https://mm.our.domain.com`, but between the LB/GW and Mattermost, it really should be just plain HTTP.

I took a look at the included `nginx.conf`, and I'm not sure which lines I should 'merge' from the HTTPS server block into the HTTP server block...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the included nginx.conf and compare the HTTP and HTTPS server blocks. Identify the configuration needed for the container to serve Mattermost over plain HTTP behind an SSL-terminating load balancer, then document the resulting setup and how to use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops, infrastructure
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.