From fe17b8f6eb46859655ca666affb6833088cd57a5 Mon Sep 17 00:00:00 2001 From: chandi Date: Sat, 27 Mar 2021 18:49:20 +0100 Subject: [PATCH] nginx: fix broken bbb-playback location closes #71 --- mod/nginx/bbb/presentation.nginx | 8 +++++--- mod/nginx/bigbluebutton | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mod/nginx/bbb/presentation.nginx b/mod/nginx/bbb/presentation.nginx index 6f8abca..2199332 100644 --- a/mod/nginx/bbb/presentation.nginx +++ b/mod/nginx/bbb/presentation.nginx @@ -15,9 +15,11 @@ # You should have received a copy of the GNU Lesser General Public License along # with BigBlueButton; if not, see . # - - location /playback/presentation { - alias /www/presentation; + location /playback/presentation/2.0/playback.html { + return 301 /playback/presentation/2.3/$arg_meetingId?$query_string; + } + location /playback/presentation/2.3 { + try_files $uri /playback/presentation/2.3/index.html; } location /presentation { diff --git a/mod/nginx/bigbluebutton b/mod/nginx/bigbluebutton index 45bb5f5..47dbed7 100644 --- a/mod/nginx/bigbluebutton +++ b/mod/nginx/bigbluebutton @@ -22,6 +22,7 @@ server { server_name _; access_log /dev/stdout; absolute_redirect off; + root /www/; # redirect to greenlight location = / {