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

Review Request #11481 — Created Feb. 22, 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 2 (Latest)

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.
5200fe182f7447935856e1bff0920a4971fd50f7 Christian Hammond
reviewboard/cmdline/rbsite.py
Loading...