settings: In ALLOWED_HOSTS example, show a list and an IP address.

Different formats for configuration files have a wide variety of ways
of representing lists; so if you're not accustomed to Python syntax,
or aren't thinking of this file as Python code, the syntax for several
ALLOWED_HOSTS entries may not be obvious.  And this setting is one
that an admin is likely to want to touch quite early in using Zulip.
So, demonstrate a multi-element list.

For similar reasons, demonstrate an IP address.  This one is in a
range reserved for documentation (by RFC 5737), like `example.com`.
This commit is contained in:
Greg Price 2018-02-05 10:18:01 -08:00
parent 12e7e2557e
commit 93e29629ab
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ ZULIP_ADMINISTRATOR = 'zulip-admin@example.com'
# accessing your server by other hostnames, list them here. # accessing your server by other hostnames, list them here.
# #
# Note that these should just be hostnames, without port numbers. # Note that these should just be hostnames, without port numbers.
#ALLOWED_HOSTS = ['zulip-alias.example.com'] #ALLOWED_HOSTS = ['zulip-alias.example.com', '192.0.2.1']
### AUTHENTICATION SETTINGS ### AUTHENTICATION SETTINGS
# #