add ability to launch through a loadbalanced bbb configuration

This commit is contained in:
Joshua Arts
2018-06-29 09:24:25 -04:00
parent 840c677c5e
commit 056289789a
2 changed files with 8 additions and 9 deletions

View File

@ -17,7 +17,7 @@ module Greenlight
# Use custom error routes.
config.exceptions_app = routes
config.loadbalanced_configuration = (ENV["USE_LOADBALANCED_CONFIGURATION"] == "true")
config.loadbalanced_configuration = ENV["LOADBALANCER_ENDPOINT"].present? && ENV["LOADBALANCER_SECRET"].present?
# Setup BigBlueButton configuration.
if config.loadbalanced_configuration