diff --git a/settings.py b/settings.py index 29415b6..ff8858d 100644 --- a/settings.py +++ b/settings.py @@ -7,7 +7,7 @@ if 'DATABASE_URL' in os.environ: DATABASES = { 'default': dj_database_url.config() } - es = urlparse(os.environ.get('SEARCHBOX_URL') or 'http://127.0.0.1:9200/') + es = urlparse(os.environ.get('SEARCHBOX_SSL_URL') or 'http://127.0.0.1:9200/') port = es.port or 80 HAYSTACK_CONNECTIONS = {