Fix the Apache configuration in the Docker Compose page #533
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I deployed recently a Jitsi Meet instance via Docker Compose and exposed it behind an Apache reverse proxy and noticed a few issues in the documentation.
Here are some suggested improvements:
<Location>
section does not work (it sounds like it works only for HTTP and not WebSocket). TheProxyPass [from] [to]
syntax works, so I used it./http-bind
to the web container is not sufficient, the frontend for instance is not served. All the paths (so/
) need to be proxied to the web container.Regarding HTTP vs HTTPS, generally HTTPS won't work on
localhost
, so we use HTTP and WS (instead of WSS) to access the web container. That's consistent with this sentence extracted from the same document:I also explained how to configure the Docker Compose project do disable HTTPS and how to prevent the web container from binding to public ip addresses (which is not necessary when using a proxy).
This configuration works for my Jitsi Meet instance.
Note that I only fixed the Apache part but some of the of the issues I fixed seem to be also present for nginx, but I don't know it enough to fix them:
/http-bind
requests to the web container but all of them (/
).Hope this will help to improve the Jitsi Meet handbook!