canvas-lms/config/environments
Weston Dransfield 48229b4345 Allow additional hosts in development
This change makes life easier when working
with multiple root accounts in local developement
and accessing each root account's shard via
different hosts.

Another scenario where this change helps is
when working with a single root account that
has many account domain records.

flag=none

Test Plan:
1. Set the new environment variable to a comma-
   separated string of host names:
   ADDITIONAL_ALLOWED_HOSTS=first.canvas.docker,
     second.canvas.docker,...
3. Start a rails console
4. Run Rails.application.config.hosts and verify
   each additional host is present in the array
5. Verify you can successfully `rails c` and see
   Canvas with the new variable present and
   absent.

Change-Id: Iea2c7dafc9918181fd2fd1268e1d71ce49ceb3ab
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/269984
QA-Review: Gary Mei <gmei@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
2021-07-28 14:02:33 +00:00
..
development.rb Allow additional hosts in development 2021-07-28 14:02:33 +00:00
production.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
test.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00