Add a rb-site option for adding additional entries for ALLOWED_HOSTS.

Review Request #11481 — Created Feb. 22, 2021 and submitted

Information

Review Board
release-3.0.x

Reviewers

This adds a new --allowed-host setting to rb-site, which provides
another hostname or IP address for settings.ALLOWED_HOSTS. It's useful
for automated installs that need to configure a server that will
ultimately respond to multiple domain names.

Manually tested using this with rb-site install, and in the new Docker
support.

Summary ID
Add a rb-site option for adding additional entries for ALLOWED_HOSTS.
This adds a new `--allowed-host` setting to `rb-site`, which provides another hostname or IP address for `settings.ALLOWED_HOSTS`. It's useful for automated installs that need to configure a server that will ultimately respond to multiple domain names.
5200fe182f7447935856e1bff0920a4971fd50f7
Description From Last Updated

Can we mention that this option can be added multiple times?

daviddavid
david
  1. 
      
  2. reviewboard/cmdline/rbsite.py (Diff revision 1)
     
     

    Can we mention that this option can be added multiple times?

  3. 
      
chipx86
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (c02d844)
Loading...