bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No proxy to Greenlight frontend. Also @bbb-fe in nginx config

AdamZWinter opened this issue · comments

I installed Greenlight along with BBB (on the same server with the -g flag), and I see the docker container running with 127.0.0.1:5050 ->3000 (which I assume is the React frontend), but I don't see anything in the nginx configuration, nor the haproxy configuration that connects to port 5050. That is, it doesn't appear that there is any way Greenlight should be served.

Also, the default page is not served with the try_files line. I can't find a reference to @bbb-fe anywhere else.
@bbb-fe is in the nginx config flile:

# BigBlueButton landing page.
location / {
root /var/www/bigbluebutton-default/assets;
try_files $uri @bbb-fe;
}

Possibly related context: I first tried to install with the -g flag using an ipaddress.aws.amazon.com DNS name (the default DNS name that AWS gives your instance), but certbot/letsencrypt does not allow those to be used (cause duh, I knew that, but tried it anyways). Without removing anything from the server, nor starting from scratch, I ran the install with the -g flag and my own domain right over the top of the first try.

Found the location file at: /usr/share/bigbluebutton/nginx/greenlight-v3.nginx
which has the proxy-pass statement that was looking for.

location @bbb-fe {
proxy_pass http://127.0.0.1:5050;
proxy_redirect off;
proxy_http_version 1.1;

proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto "https";
proxy_set_header Connection "";

}

Looks like my problem lies elsewhere.