AnsweredAssumed Answered

Ofmeet via Apache Proxy

Question asked by Seth Green on Jul 3, 2014

I'm trying to set up ofmeet behind an apache proxy running on a different machine in my LAN.  I can redirect the browser to the ofmeet page, but I do not get a request to take control of my camera/microphone and there's no picture, etc.  Everything works fine when I go directly to ofmeet using the http-bind port (in my case 5280).

 

The apache config file contain the following:

 

<Location /ofmeet>

ProxyPreserveHost off

ProxyHTMLEnable On

ProxyPass http://[openfire-server]:5280/jitsi/apps/ofmeet

ProxyPassReverse http://[openfire-server]:5280/jitsi/apps/ofmeet

ProxyHTMLURLMap  http://openfire-server:5280/jitsi/apps/ofmeet /ofmeet/

ProxyHTMLURLMap  /jitsi/apps/ofmeet /ofmeet/

RequestHeader set X-Forwarded-Proto "https"

</Location>

 

ProxyPass /http-bind http://[openfire-server]:5280/http-bind

ProxyPassReverse /http-bind/ http://[openfire-server]:5280/http-bind

 

ProxyPass /ws http://[openfire-server]:5280/ws

ProxyPassReverse /ws http://[openfire-server]:5280/ws

 


And config.js for ofmeet contains:

 

var config = {

 

    hosts: {

 

        domain: '[my.domain]',

 

        muc: 'conference.[my.domain]t', // FIXME: use XEP-0030

 

        bridge: 'jitsi-videobridge.[my.domain]' // FIXME: use XEP-0030

 

    },

 

    useIPv6: false, // ipv6 support. use at your own risk

 

    useNicks: false,

 

    useWebsockets: true,

 

    resolution: "360",

 

    bosh: https://[apache-server]/http-bind/

};

 

Can anybody point in the direction of how to solve this problem?

 

Thanks in advance.

Outcomes