Skip to content

Commit

Permalink
Merge pull request #592 from lf-/patch-2
Browse files Browse the repository at this point in the history
Allow multiple ALLOWED_HOSTS on docker
  • Loading branch information
jeremystretch authored Oct 4, 2016
2 parents f1c70cd + b68c640 commit 8227a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/netbox/configuration.docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# access to the server via any other hostnames. The first FQDN in the list will be treated as the preferred name.
#
# Example: ALLOWED_HOSTS = ['netbox.example.com', 'netbox.internal.local']
ALLOWED_HOSTS = [os.environ.get('ALLOWED_HOSTS', '')]
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', '').split(' ')

# PostgreSQL database configuration.
DATABASE = {
Expand Down

0 comments on commit 8227a9f

Please sign in to comment.