Comments (8)
EDIT
Making these changes manually did not work. Maybe I am missing something. I get a 500 error.
EDIT
I have to note that if you are using jwilder/nginx-proxy, the documentation says:
If you would like to connect to your backend using HTTPS instead of HTTP, set
VIRTUAL_PROTO=https
on the backend container.
In which case specifying it in docker-compose.yml
should help in some way. I will verify and update here if I get through.
Was having this EXACT issue myself. Thanks a lot for solving it.
Is there any temporary workaround? (like making those changes in the PR, myself in nginx.conf
inside mattermost container?)
from mattermost-docker.
In which case specifying it in docker-compose.yml should help in some way. I will verify and update here if I get through.
Actually this is for the backend. If your backend proxy support https the reveres proxy can cnnect via https to it. This will then pass the correct Protocol in the HTTP headers but you have to configure https for mattermost too.
You can simply drop the web container and pass every request to the app container of the mattermost setup like I did. This is just another proxy to the mattermost app itself.
from mattermost-docker.
@jdoubleu Thanks! But here is the thing, I want to use the nginx reverse proxy container to manage my subdomains. I am using same SSL certificates for both mattermost container and the proxy container.
Another observation is that I can access mattermost fine without https, which is the main issue. I can access it using HTTPS (using the IP and not the server name, tested using curl -k
) from inside the mattermost container itself, also from the nginx proxy container and also from the host operating system. But anything outside that like any other device from within the same physical network, fails in error 500.
Not sure if any of this information makes sense, But I will post any results I get here just in case anyone may be interested.
from mattermost-docker.
@sushruth have you resolved this issue? Do you still need any help?
from mattermost-docker.
@xcompass I have gone ahead with not using Mattermost at all. Thank you.
from mattermost-docker.
Sorry for the delay!
But here is the thing, I want to use the nginx reverse proxy container to manage my subdomains. I am using same SSL certificates for both mattermost container and the proxy container.
[..] But anything outside that like any other device from within the same physical network, fails in error 500.
I don't think this has to do with this fix. This is more a problem with your overall configuration and how you setup your containers, etc.
Like described in the linked PR, my issue only resolved the bug where Mattermost internally detects the wrong URL if it was accessed via http from the reverse proxy no matter how the frontend was configured.
EDIT: Is it possible that @alecisec 's post was deleted?
from mattermost-docker.
@jdoubleu which post?
OK. I'll close this issue for now. Will open if there is any issue.
from mattermost-docker.
@jdoubleu found the post. It seem he/she moved the post into a new issue.
from mattermost-docker.
Related Issues (20)
- {PATCH} is included in the version view and not correct version number HOT 5
- Untrusted certificate from Andriod mobile app HOT 1
- release-5.33 Uses Wrong Version of Postgres HOT 3
- updating to 5.33 release with mysql HOT 1
- How to update to the latest ESR version (or to a specific version)? HOT 1
- docker_app unhealthy connection timeout to psql HOT 4
- Mattermost mobile app server warning message after upgrade HOT 2
- Sync Releases to mattermost-server HOT 11
- Why Mattermost releases 5.34, 5.34.1, 5.34.2, 5.35, 5.35.2 missing in mattermost-docker releases? HOT 2
- Proxy authentication required (gitlab sso token issue
- SiteURL must be set .. HOT 1
- the switch to postgres10 doesn't handle DB upgrades HOT 2
- Upgrading to 5.36.1 HOT 3
- Building DB Failes HOT 4
- Deployment failures in a variety of configurations, including locally built and docker hub images HOT 2
- Error when building gevent for db containers HOT 3
- Error: unknown shorthand flag: 'u' in -upgrade_db_30
- No new releases? HOT 1
- Some updates on the Mattermost-docker repository HOT 3
- Error: failed to load configuration: failed to create store HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-docker.