Add allowed hosts using environment vars.

This commit is contained in:
Abhilash Raj
2017-09-30 21:31:59 -07:00
committed by Abhilash Raj
parent afb8f09eff
commit eca79c9858
2 changed files with 17 additions and 4 deletions

View File

@@ -54,6 +54,10 @@ change them unless you know what you want.
- `DJANGO_LOG_URL`: Path to the django's log file. Defaults to
`/opt/mailman-web-data/logs/mailmanweb.log`.
- `DJANGO_ALLOWED_HOSTS`: Entry to add to ALLOWED_HOSTS in Django
configuration. This is a separate configuration from`SERVE_FROM_DOMAIN` as
latter is used for other purposes too.
Running
=======