Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the nginx proxy configuration and improve the reverse proxy documentation #535

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

bsautel
Copy link
Contributor

@bsautel bsautel commented Oct 26, 2024

Consecutively to my previous pull request #533 I took some time to setup an nginx server and tried the proxy configuration.

This enabled me to fix multiple things:

  • Proxy to the HTTP server instead of the HTTPS one
  • Proxy all the paths to the web container and not only /http-bind
  • Fix the target paths of the Web Socket proxies (/xmpp-websocket must target /xmpp-websocket and not /)
  • Remove the Web Socket related configuration from the HTTP-only proxy (for /)

This configuration seems to work as expected.

I also reorganized the reverse proxy paragraph in order to share between Apache and nginx the explanation I added in my previous PR regarding the usage of HTTP instead of HTTPS and how to disable HTTPS.

I also added a required module for Apache (proxy_http).

Hope this will help!

- The proxy for / was missing
- The paths were wrong (for instance /xmpp-websocket was proxied to / instead of /xmpp-websocket)
- Reorganize the reverse proxy paragraph to factorize the explanations regarding the fact we proxy to HTTP and not HTTPS
The proxy_http module was missing
@saghul saghul merged commit 0045599 into jitsi:master Oct 26, 2024
1 check passed
@bsautel bsautel deleted the fix-nginx-proxy-configuration branch October 27, 2024 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants