From 551246434bf4553fc74c541add10b980ec297484 Mon Sep 17 00:00:00 2001 From: manfred-w Date: Tue, 18 May 2021 14:21:54 +0200 Subject: [PATCH] Fix for missing preuploaded presentations Add a nginx redirect to allow bbb find a pre-uploaded presentation. ref: https://docs.bigbluebutton.org/greenlight/gl-config.html#updating-from-version-prior-to-27 --- mod/nginx/bbb/greenlight.nginx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mod/nginx/bbb/greenlight.nginx b/mod/nginx/bbb/greenlight.nginx index 8ed654b..4ed4626 100644 --- a/mod/nginx/bbb/greenlight.nginx +++ b/mod/nginx/bbb/greenlight.nginx @@ -26,4 +26,9 @@ location /b/cable { proxy_send_timeout 6h; client_body_timeout 6h; send_timeout 6h; -} \ No newline at end of file +} + +# this is necessary for the preupload_presentation feature +location /rails/active_storage { + return 301 /b$request_uri; +}