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

Review Request #11481 — Created Feb. 23, 2021 and submitted — Latest diff uploaded

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.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
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.
32109168ac5131ff0c209fb0d047921922192352 Christian Hammond
reviewboard/cmdline/rbsite.py
Loading...