diff --git a/cluster/prod/app/jitsi/config/nginx.conf b/cluster/prod/app/jitsi/config/nginx.conf index 32cc3c1..c988059 100644 --- a/cluster/prod/app/jitsi/config/nginx.conf +++ b/cluster/prod/app/jitsi/config/nginx.conf @@ -91,8 +91,9 @@ http { add_header 'Access-Control-Allow-Methods' 'GET,POST,PUT,DELETE,OPTIONS'; add_header 'Access-Control-Allow-Origin' '*'; proxy_pass http://{{ env "NOMAD_ADDR_bosh_port" }}/http-bind; - proxy_set_header X-Forwarded-For \$remote_addr; - #proxy_set_header Host \$http_host; + proxy_set_header X-Forwarded-For $remote_addr; + #proxy_set_header Host $http_host; + proxy_set_header Host jitsi-bosh; } # not used yet VVV diff --git a/cluster/prod/app/jitsi/config/prosody.cfg.lua b/cluster/prod/app/jitsi/config/prosody.cfg.lua index 7141f8b..ff06a68 100644 --- a/cluster/prod/app/jitsi/config/prosody.cfg.lua +++ b/cluster/prod/app/jitsi/config/prosody.cfg.lua @@ -49,6 +49,7 @@ consider_bosh_secure = true; component_ports = { } -- it seems we don't need external components for now... https_ports = { } -- we don't need https http_ports = { {{env "NOMAD_PORT_bosh_port" }} } +http_interfaces = { "0.0.0.0", "::" } c2s_ports = { {{env "NOMAD_PORT_xmpp_port" }} } @@ -89,6 +90,7 @@ VirtualHost "jitsi" lobby_muc = "lobby.jitsi" main_muc = "conference.jitsi" -- muc_lobby_whitelist = { "recorder.jitmeet.example.com" } -- Here we can whitelist jibri to enter lobby enabled rooms + http_host = "jitsi-bosh" Component "conference.jitsi" "muc" storage = "memory" diff --git a/cluster/prod/app/jitsi/deploy/jitsi.hcl b/cluster/prod/app/jitsi/deploy/jitsi.hcl index d820180..523a88d 100644 --- a/cluster/prod/app/jitsi/deploy/jitsi.hcl +++ b/cluster/prod/app/jitsi/deploy/jitsi.hcl @@ -20,7 +20,7 @@ job "jitsi" { task "xmpp" { driver = "docker" config { - image = "superboum/amd64_jitsi_xmpp:v10" + image = "superboum/amd64_jitsi_xmpp:v11" ports = [ "bosh_port", "xmpp_port" ] network_mode = "host" volumes = [ @@ -101,7 +101,7 @@ EOF task "front" { driver = "docker" config { - image = "superboum/amd64_jitsi_meet:v5" + image = "superboum/amd64_jitsi_meet:v6" network_mode = "host" ports = [ "https_port" ] volumes = [ @@ -163,7 +163,7 @@ EOF task "jicofo" { driver = "docker" config { - image = "superboum/amd64_jitsi_conference_focus:v9" + image = "superboum/amd64_jitsi_conference_focus:v10" network_mode = "host" volumes = [ "secrets/certs/jitsi.crt:/usr/local/share/ca-certificates/jitsi.crt", @@ -203,7 +203,7 @@ EOF task "videobridge" { driver = "docker" config { - image = "superboum/amd64_jitsi_videobridge:v20" + image = "superboum/amd64_jitsi_videobridge:v21" network_mode = "host" ports = [ "video_port" ] ulimit {