Solved Anyone using Jitsi behind Nginx
-
@sadeghpm said in Anyone using Jitsi behind Nginx:
@stacksofplates i use official docker-compose file and according to their documentation.
Yeah you shouldn't need to modify the properties file then. Just use the env vars in your .env file.
-
@br0wnt0wn said in Anyone using Jitsi behind Nginx:
Ok i seem to have gotten it working.
Good, because I was pulled away.
-
Thank you for sharing the configuration how you put the Nginx in front of Jitsi.
I tried exactly the same way and for some reason it isn't working for me. The original post is a little old. Hence, let me ask you whether it still works for you. And let me know whether you added something in the configuration for a newer Jitsi version.Actually I have the same behavior like described on reddit (
502 Bad Gateway
) : https://www.reddit.com/r/selfhosted/comments/fve1ib/jitsi_with_nginx_proxy/
The difference is I dont use docker but the normal installation on ubuntu (https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md).Regarding ports I did:
myrouter (80, 443) -> VM1: nginx (with your config)
myrouter (10000 udp) -> VM2: jitsi -
@phqzgunsfjror said in Anyone using Jitsi behind Nginx:
Thank you for sharing the configuration how you put the Nginx in front of Jitsi.
I tried exactly the same way and for some reason it isn't working for me. The original post is a little old. Hence, let me ask you whether it still works for you. And let me know whether you added something in the configuration for a newer Jitsi version.Actually I have the same behavior like described on reddit (
502 Bad Gateway
) : https://www.reddit.com/r/selfhosted/comments/fve1ib/jitsi_with_nginx_proxy/
The difference is I dont use docker but the normal installation on ubuntu (https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md).Regarding ports I did:
myrouter (80, 443) -> VM1: nginx (with your config)
myrouter (10000 udp) -> VM2: jitsiIt seems the jitsi team moved the documentation to somewhere else a couple of days ago ... including some more information about nginx reverse proxy.
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstartIf the installation is behind a proxying nginx server, remove /etc/nginx/modules-enabled/60-jitsi-meet.conf. Then go to /etc/nginx/site-available/your-conf and change it to listen on 443 instead of 4444 and restart nginx.
I did that on my jitsi vm and now it works like a charm. The nginx reverse proxy config above is still enough for the current jitsi version.
From my end there was nothing to do with the stuff about NAT (the restart of the jitsi vm was enough).
I hope it helps someone else. The nginx reverse proxy gives me the opportunity using multiple applications behind ports 80/443 at home.