ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Anyone using Jitsi behind Nginx

    IT Discussion
    jitsi nginx
    11
    44
    18.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • travisdh1T
      travisdh1 @JaredBusch
      last edited by

      @JaredBusch I bet that was annoying to figure out with bad documentation. Nice.

      1 Reply Last reply Reply Quote 0
      • sadeghpmS
        sadeghpm
        last edited by

        Hi guys.
        Same problem. I have jitsi docker container behind nginx.
        Where is /etc/jitsi/videobridge/sip-communicator.properties file to change values? in docker configuration files?
        thanks

        JaredBuschJ travisdh1T stacksofplatesS 3 Replies Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @sadeghpm
          last edited by

          @sadeghpm said in Anyone using Jitsi behind Nginx:

          Hi guys.
          Same problem. I have jitsi docker container behind nginx.
          Where is /etc/jitsi/videobridge/sip-communicator.properties file to change values? in docker configuration files?
          thanks

          I don't use docker for things like this for that reason.

          scottalanmillerS 1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @JaredBusch
            last edited by

            @JaredBusch said in Anyone using Jitsi behind Nginx:

            @sadeghpm said in Anyone using Jitsi behind Nginx:

            Hi guys.
            Same problem. I have jitsi docker container behind nginx.
            Where is /etc/jitsi/videobridge/sip-communicator.properties file to change values? in docker configuration files?
            thanks

            I don't use docker for things like this for that reason.

            Same. Makes simple things hard. Jitsi is one of the easiest things to deploy... until Docker gets involved.

            1 Reply Last reply Reply Quote 0
            • travisdh1T
              travisdh1 @sadeghpm
              last edited by

              @sadeghpm said in Anyone using Jitsi behind Nginx:

              Hi guys.
              Same problem. I have jitsi docker container behind nginx.
              Where is /etc/jitsi/videobridge/sip-communicator.properties file to change values? in docker configuration files?
              thanks

              It's inside the docker container. You need to start a bash shell within the container its self.

              1 Reply Last reply Reply Quote 1
              • stacksofplatesS
                stacksofplates @sadeghpm
                last edited by

                @sadeghpm said in Anyone using Jitsi behind Nginx:

                Hi guys.
                Same problem. I have jitsi docker container behind nginx.
                Where is /etc/jitsi/videobridge/sip-communicator.properties file to change values? in docker configuration files?
                thanks

                Don't edit files in the container. Make the sip-communicator.properties file on your host and mount it under /etc/jitsi/videobridge/sip-communicator.properties

                sadeghpmS 1 Reply Last reply Reply Quote 1
                • sadeghpmS
                  sadeghpm @stacksofplates
                  last edited by

                  @stacksofplates
                  thanks guys.
                  bind /etc/jitsi/videobridge/sip-communicator.properties with local file and container config file updated, but problem exists! very strange!

                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates @sadeghpm
                    last edited by stacksofplates

                    @sadeghpm said in Anyone using Jitsi behind Nginx:

                    @stacksofplates
                    thanks guys.
                    bind /etc/jitsi/videobridge/sip-communicator.properties with local file and container config file updated, but problem exists! very strange!

                    Are you using their docker-compose file? They give you a .env with all of the environment variables you need to set.

                    I hadn't looked at their repo. You should set all of those options as env vars not in the config itself.

                    Once you have the env vars set up just run docker-compose up -d

                    sadeghpmS 1 Reply Last reply Reply Quote 1
                    • sadeghpmS
                      sadeghpm @stacksofplates
                      last edited by

                      @stacksofplates i use official docker-compose file and according to their documentation.

                      stacksofplatesS 1 Reply Last reply Reply Quote 0
                      • B
                        br0wnt0wn
                        last edited by

                        @JaredBusch Did you change the nginx conf on the jitsi server? I followed your instructions on "Install Jitsi-Meet on Debian 9 minimal" including the nginx conf, but i'm getting a err_too_many_redirects error.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @br0wnt0wn
                          last edited by

                          @br0wnt0wn said in Anyone using Jitsi behind Nginx:

                          @JaredBusch Did you change the nginx conf on the jitsi server? I followed your instructions on "Install Jitsi-Meet on Debian 9 minimal" including the nginx conf, but i'm getting a err_too_many_redirects error.

                          That guide does not have Nginx on the Jitsi server.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            br0wnt0wn @JaredBusch
                            last edited by

                            @JaredBusch When i install jitsi-meet via sudo apt-get -y install jitsi-meet, it automatically installs and configures nginx

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @br0wnt0wn
                              last edited by

                              @br0wnt0wn said in Anyone using Jitsi behind Nginx:

                              @JaredBusch When i install jitsi-meet via sudo apt-get -y install jitsi-meet, it automatically installs and configures nginx

                              That quide is from almost 2 years ago. Maybe things have changed.

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch
                                last edited by JaredBusch

                                I'm tired of dealing with stupid for a bit. let me spin up a new instance and try it

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch
                                  last edited by

                                  Spinning up a new Debian 10 install to work from.
                                  90f4d07d-c6c5-4cdc-a323-c4707ff61dda-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    br0wnt0wn
                                    last edited by

                                    Awesome, thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      br0wnt0wn
                                      last edited by

                                      Ok i seem to have gotten it working. In the nginx config on the jitsi server, I commented everything from this line:

                                      location^~ /.well-known/acme-challenge/ {
                                      

                                      to this line:

                                      ssl_certificate_key /etc/jitsi/meet/sub.domain.com.key;
                                      

                                      which effectively removes the server block listening on port 4444, then moves all of the location blocks and config from the listen 4444 server block to the listen 80 server block.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • stacksofplatesS
                                        stacksofplates @sadeghpm
                                        last edited by

                                        @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.

                                        1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @br0wnt0wn
                                          last edited by

                                          @br0wnt0wn said in Anyone using Jitsi behind Nginx:

                                          Ok i seem to have gotten it working.

                                          Good, because I was pulled away.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            phqzgunsfjror
                                            last edited by phqzgunsfjror

                                            @JaredBusch

                                            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

                                            P 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post