From 9a2eb52fcaf4b65155ea2aac8823fe283c0b2666 Mon Sep 17 00:00:00 2001 From: Mr McClain Date: Tue, 5 Apr 2016 01:53:27 -0500 Subject: [PATCH] added an example to allowed hosts --- alliance_auth/settings.py.example | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/alliance_auth/settings.py.example b/alliance_auth/settings.py.example index ea1616bf..4c6de4c6 100755 --- a/alliance_auth/settings.py.example +++ b/alliance_auth/settings.py.example @@ -30,7 +30,7 @@ DEBUG = 'True' == os.environ.get('AA_DEBUG','True') TEMPLATE_DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['127.0.0.1','yourdomain.com','www.yourdomain.com'] BROKER_URL = 'amqp://guest:guest@localhost:5672/' @@ -278,7 +278,6 @@ CORP_NAME = os.environ.get('AA_CORP_NAME', '') CORP_API_ID = os.environ.get('AA_CORP_API_ID', '') CORP_API_VCODE = os.environ.get('AA_CORP_API_VCODE', '') - ######################### # Alliance Configuration ######################### @@ -385,7 +384,7 @@ DISCORD_USER_PASSWORD = os.environ.get('AA_DISCORD_USER_PASSWORD', '') # IPS4_URL - base url of the IPS4 install (no trailing slash) # IPS4_API_KEY - API key provided by IPS4 ##################################### -IPS4_URL = os.environ.get('AA_IPS4_URL', 'http://mydomain.com/ips4') +IPS4_URL = os.environ.get('AA_IPS4_URL', 'http://yourdomain.com/ips4') IPS4_API_KEY = os.environ.get('AA_IPS4_API_KEY', '') #####################################