diff --git a/app/views/application/not_found.html.erb b/app/views/application/not_found.html.erb new file mode 100644 index 00000000..647e34c8 --- /dev/null +++ b/app/views/application/not_found.html.erb @@ -0,0 +1,23 @@ +<% +# BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. +# Copyright (c) 2018 BigBlueButton Inc. and by respective authors (see below). +# This program is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free Software +# Foundation; either version 3.0 of the License, or (at your option) any later +# version. +# +# BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. +# You should have received a copy of the GNU Lesser General Public License along +# with BigBlueButton; if not, see . +%> + +
+
404
+

<%= t("errors.not_found.message") %>

+

<%= t("errors.not_found.help") %>

+ + <%= t("go_back") %> + +
diff --git a/config/environments/production.rb b/config/environments/production.rb index 94228a23..90a1de00 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -93,7 +93,7 @@ Rails.application.configure do # require 'syslog/logger' # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') - if ENV["RAILS_LOG_TO_STDOUT"].present? + if ENV["RAILS_LOG_TO_STDOUT"] == "true" logger = ActiveSupport::Logger.new(STDOUT) logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) diff --git a/sample.env b/sample.env index 0337caee..309866eb 100644 --- a/sample.env +++ b/sample.env @@ -105,3 +105,22 @@ RELATIVE_URL_ROOT=/b # A URL to the image you want to appear in the top right corner of Greenlight. # By default, this is the BigBlueButton logo. BRANDING_IMAGE= + +# Comment this out to send logs to STDOUT in production instead of log/production.log . +# +# RAILS_LOG_TO_STDOUT=true +# +# When using docker-compose the logs can be sent to an external service like PaperTrail +# just by using the built in driver. Make sure to add to docker-compose.yml the next lines: +# +# logging: +# driver: syslog +# options: +# syslog-address: "tcp+tls://logs4.papertrailapp.com:[99999]" +# tag: greenlight.mydomain.com:v2 +# + +# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. +# It is disabled by default. +# +# ENABLE_SSL=true