diff options
Diffstat (limited to 'cluster/prod/app/jitsi/config')
-rw-r--r-- | cluster/prod/app/jitsi/config/nginx.conf | 5 | ||||
-rw-r--r-- | cluster/prod/app/jitsi/config/prosody.cfg.lua | 2 |
2 files changed, 5 insertions, 2 deletions
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" |