Hi Fred, thanks for the quick response, well ... i ran both tail
commands and tried to access
www.mydomain.com/bbb from internet and
none of them showed anything ... but /var/log/nginx/
localhost.access.log shows this
172.16.1.112 - - [05/Jan/2011:10:20:20 -0500] "GET / HTTP/1.1" 304 0
"-" ...
that's the LAN ip address of my apache webserver, and that's the same
log activity i see when i try to acces my BBB server directly usung
it's LAN ip address (same result, welcome to nginx!) ... so i
configured again BBB to it's original ip addres with " bbb-conf --
setip 172.16.1.130" and tried to access again from internet, just in
case ... this time i saw a no css version of the BBB default landing
page but when i tried to access obviously it didn't work, it was
trying to contact the LAN ip address from internet ... so, back to
"bbb-conf --setip
www.mydomain.com" ... and ... tadaaaaaaa! the
problem seems to be that my apache's reverse proxy is querying the BB
server by it's ip address directly and BBB server expects to be
queried as
www.mydomain.com ... what to do? i did a QAD hack (Quick
And Dirty, very ugly i might say, ugh :P ) i added "172.16.1.30
www.mydomain.com" to /etc/hosts file of my apache web server, then
went to apache config and changed all references to 172.16.1.130 to
www.mydomain.com in the reverse proxies configuration, it worked just
fine but ... i didn't quite like it ... any sugestions?
On 4 ene, 22:54, Fred Dixon <
ffdi...@gmail.com> wrote:
> What's happening is the incoming requests are not being recognized by
> BigBlueButton's configuration in nginx. To see what the incoming
> requests look like, try this
>
> tail -f /var/log/nginx/access.log
>
> and then access the BigBlueButton server through it's hostname. You can also try
>
> tail -f /var/log/nginx/bigbluebutton.access.log
>
> in another window to see which log file is picking up the incoming
> request. Based on the output of access.log, you can try modifying the
> server_name parameter in /etc/nginx/sites-available/bigbluebutton to
> have it match the incoming request (and show you the output in
> bigbluebutton.access.log).
>
> Regards,... Fred
>
> On Tue, Jan 4, 2011 at 5:54 PM, Alvaro Andres
>
>
>
>
>
>
>
> <
alvaroandres.riv...@gmail.com> wrote:
> > Hi
> > I´ve already posted this in another discussion, maybe was not the best
> > place to do it so i started this new one, i have a BBB server behind a
> > Firewall (endian) and have already done the steps mentioned by Fred in
> > this link to provide acces to the necesary ports so BB works fine
> >
http://www.google.com/url?sa=D&q=http://code.google.com/p/bigbluebutt...
> > So far so good ... and this is a rough map of my setup
>
> > ////////////////////
> > /// Internet ///
> > ///////////////////
> > |
> > |
> > +-----------------+ My Firewall port forwards port 80
> > | My Firewall | To My Apache web server, and ports
> > +-----------------+ 9123 & 1935 to my BBB server
> > |
> > | My LAN
> > |
> > +-----------------------+ +---------------------------------+
> > | My LAN Switch |------| My Apache web server |
> > +-----------------------+ +---------------------------------+
> > |
> > |
> > +----------------------+
> > | My BBB server |
> > +----------------------+
>
> > Now, i configured BBB to respond towww.mydomain.comvia "sudo bbb-
> > conf --
setipwww.mydomain.com" and changed /etc/hosts of my BBB server
> > so it pointswww.mydomain.comto itself, i know the server works fine
> > because i tricked an ubuntu machine inside my LAN via /etc/hosts to
> > pointwww.mydomain.comto the LAN ip address of the BBB server, fired
> > a browser, pointed it towww.mydomain.comand worked nicely, now my
> > problem is i can't do it from the internet because our port 80 is
> > pointing to our apache web server with our precious web site and i
> > simply can't portforward port 80 to another server, also i can't use
> > any other port to point BBB web interface (corporate policy, every web
> > service provided by us has to be accesible from internet under our
> > domain, like this:
www.mydomain.com/service, so using bbb-conf to
> > configure it to use another port and then portforwarding it from my
> > firewall wont do) ... then the solution seems to be configure a
> > reverse proxy in my apache server, i did this some time ago when BBB
> > was version 0.6.X like this
>
> > <Location "/bbb">
> > ProxyPasshttp://
172.16.1.130
> > ProxyPassReversehttp://
172.16.1.130
> > ProxyPassReverse /
> > ProxyHTMLExtended On
> > SetOutputFilter proxy-html
> > ProxyHTMLURLMap /bbb /bbb
> > </Location>
>
> > <Location "/bigbluebutton">
> > ProxyPasshttp://
172.16.1.130/bigbluebutton
> > ProxyPassReversehttp://
172.16.1.130/bigbluebutton
> > ProxyPassReverse /
> > ProxyHTMLExtended On
> > SetOutputFilter proxy-html
> > ProxyHTMLURLMap /bigbluebutton /bigbluebutton
> > </Location>
>
> > <Location "/images">
> > ProxyPasshttp://
172.16.1.130/images
> > ProxyPassReversehttp://
172.16.1.130/images
> > ProxyPassReverse /
> > ProxyHTMLExtended On
> > SetOutputFilter proxy-html
> > ProxyHTMLURLMap /images /images
> > </Location>
>
> > <Location "/client">
> > ProxyPasshttp://
172.16.1.130/client
> > ProxyPassReversehttp://
172.16.1.130/client
> > ProxyPassReverse /
> > ProxyHTMLExtended On
> > SetOutputFilter proxy-html
> > ProxyHTMLURLMap /client /client
> > </Location>
>
> > so if i
typedwww.mydomain.com/bbbfrom internet it used to access BBB