Skip to content
Snippets Groups Projects
Select Git revision
  • 6be629ae82bd5574451ef36aa43a3d388ae6a471
  • master default protected
  • v3-modify-mail
  • snyk-fix-207483a1e839c807f95a55077e86527d
  • translations_3b5aa4f3c755059914cfa23d7d2edcde_ru
  • translations_6e4a5e377a3e50f17e6402264fdbfcc6_ru
  • translations_3b5aa4f3c755059914cfa23d7d2edcde_fa_IR
  • translations_en-yml--master_fa_IR
  • snyk-fix-7d634f2eb65555f41bf06d6af930e812
  • translations_en-yml--master_ar
  • translations_3b5aa4f3c755059914cfa23d7d2edcde_el
  • jfederico-patch-1
  • v2
  • v3
  • v1
  • release-3.1.0.2
  • release-3.1.0.1
  • release-3.1.0
  • release-2.14.8.4
  • release-3.0.9.1
  • release-3.0.9
  • release-3.0.8.1
  • release-2.14.8.3
  • release-3.0.8
  • release-3.0.7.1
  • release-2.14.8.2
  • release-3.0.7
  • release-3.0.6.1
  • release-3.0.6
  • release-3.0.5.4
  • release-3.0.5.3
  • release-2.14.8.1
  • release-3.0.5.2
  • release-3.0.5.1
  • release-3.0.5
35 results

greenlight.nginx

Blame
  • user avatar
    Lars Kiesow authored and GitHub committed
    * Allow uploading larger presentations
    
    This patch allows uploading presentations up to 30MB instead of the
    default 1MB. This should prevent users from getting an 401 reply from
    Nginx in most cases.
    
    * Update greenlight.nginx
    
    Co-authored-by: default avatarAhmad Farhat <ahmad.farhat@blindsidenetworks.com>
    Co-authored-by: default avatarAhmad Farhat <ahmad.af.farhat@gmail.com>
    61b91881
    History
    greenlight.nginx 1.46 KiB
    # Routes requests to Greenlight based on the '/b' prefix.
    # Use this file to route '/b' paths on your BigBlueButton server
    # to the Greenlight application. If you are using a different
    # subpath, you should change it here.
    
    location /b {
      proxy_pass          http://127.0.0.1:5000;
      proxy_set_header    Host              $host;
      proxy_set_header    X-Forwarded-For   $proxy_add_x_forwarded_for;
      proxy_set_header    X-Forwarded-Proto $scheme;
      proxy_http_version  1.1;
    }
    
    location /b/cable {
      proxy_pass          http://127.0.0.1:5000;
      proxy_set_header    Host              $host;
      proxy_set_header    X-Forwarded-For   $proxy_add_x_forwarded_for;
      proxy_set_header    X-Forwarded-Proto $scheme;
      proxy_set_header    Upgrade           $http_upgrade;
      proxy_set_header    Connection        "Upgrade";
      proxy_http_version  1.1;
      proxy_read_timeout  6h;
      proxy_send_timeout  6h;
      client_body_timeout 6h;
      send_timeout        6h;
    }
    
    # Allow larger body size for uploading presentations
    location ~ /preupload_presentation$ {
      client_max_body_size 30m;
    
      proxy_pass          http://127.0.0.1:5000;
      proxy_set_header    Host              $host;
      proxy_set_header    X-Forwarded-For   $proxy_add_x_forwarded_for;
      proxy_set_header    X-Forwarded-Proto $scheme;
      proxy_http_version  1.1;
    }
    
    # Only needed if using presentations and deployed at a relative root (ex "/b")
    # If deploying at "/", delete the section below
    
    location /rails/active_storage {
      return 301 /b$request_uri;
    }