-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Jitsi Docker behind Reverse apache RP #2012
Comments
This is what i followed. |
Make sure you proxy to the HTTP port, not the HTTPS one. |
OK
Here's the result if i connect with google chrome |
You need to access your URL using HTTPS. But when you proxy, proxy to the HTTP endpoint. |
i'm not sure what you mean. so what do i need to do on my apache conf, or docker conf (.env or docker-compose file) ? |
That suggests you have a problem in your apache config. Sorry I'm not very familiar with apache RP to know what's wrong there. |
Apache get not error when connecting to https://jitsi.domain.net |
Shouldn't this be |
already tried, changes nothing |
Sorry, I don't know enough Apache config to help you. By the look of it, the problem seems to the there. Perhaps check the logs and serve a static page at your desired domain first, then once that works introduce the proxy to the Docker setup. |
going to the docker withouth RP work but going to https://jitsi.domain.net (to go through RP) won't work. if an apache expert could help to set the conf, and maybe if there is something to do in jitsi docker .env or conf ? I have other docker on 10.0.0.201 working through RP with juste proxpass and proxypassreverse |
Hi, I had a similar problem, the fix in my case was to remover |
tried removing, but still nope :( my RP is a server recovering connection to jitsi.domain.net PUBLIC URL must bi docker server ip ? or the dns used to reach it ? both didn't worked. |
Can you please draw a little diagram of how your stuff is connected? |
[Client] --> using https://jitsi.domain.net --> [Reverse Proxy/10.0.0.100] ----> [Docker Server/10.0.0.201] In my lan i can reach jitsi via https://10.0.0.201:8443, but the goal is to go via RP, because later my RP will be exposed to internet , but not the docker server. |
Alright in this configuration your PUBLIC_URL should be set to https://jitsi.domain.net and the RP should proxy to 10.0.0.201. You also need to set JVB_ADVERTISE_IPS to the public IP of the host where the JVB is running and make sure port 10000 is open. You can check the access logs in the web container. If you don't see any requests coming in, it means the problem is in the RP. |
on docker server, jitsi .env file for docker compose On Reverse proxy server this is what i did, but https://viry.domain.net gives me a ERR_CONNECTION_REFUSED |
Don't proxy over https, I mentioned before you do it over http to port 8000. |
This is proxying to the SSL port on nginx. You want to proxy to the non-SSL port on the nginx. |
@saghul @aaronkvanmeerten |
But you are proxying to an nginx container (docker server) listening on both 443 and 8080 and bound to your host on 8443 and 8000 respectively, serving the web content and proxying to the other components. It looks like you have it working now, and your next step is to look at supported browsers. Does this same browser work on meet.jit.si? |
I think he might be accessing it via http. Which explains that page. |
the same browser work meet.jit.si Recap again (in case)
if i check docker running, exposed ports are 8000 (routed to 80 inside docker) and 8443 (routed to 443 inside docker)
with this, i can go to http://jitsi.domain.net, i get the page telling unsuported browser tryed changing RP the proxy https part with no port (juste https://jitsi.domain.net/), still nogood. |
Sooooo after multiples tries But still no perfect Jitsi docker .env file
jitsi docker compose file
my apache2 conf
When connecting to a room, i have a error : you've been disconnected, check your network. |
Generally your PUBLIC_URL should match the URL users consume your service, so like Check out: https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker/ for more guidance on how configuration variables should be set. According to the docs mod_proxy_wstunnel is deprecated and instead mod_proxy_http should be used: So it appears you should switch to mod_proxy_http and then add the "upgrade" statement after the two websocket URLs |
Alright seems to work now. |
Hi Still New here
I managed to make my jitsi conf work with ldap authentification.
works ok for testing on http://serverip:8443
now i want to make jisti available via our reverse proxy.
our reverse proxy is an apache2 server
here's my conf for now, but i can't make it work.
10.0.0.201 is the server where the docker is hosted
jitsi.domain.net point to the reverse proxy server
on the docker i set PUBLIC_URL to jitsi.domain.net
if on chrome i go to http://jitsi.domain.net i have a internal server error (500)
going to https://jitsi.domain.net gives me an unavailable web site ERR_CONNECION_REFUSED
The text was updated successfully, but these errors were encountered: