diff --git a/swh/web/settings/production.py b/swh/web/settings/production.py --- a/swh/web/settings/production.py +++ b/swh/web/settings/production.py @@ -8,9 +8,7 @@ """ from .common import * # noqa -from .common import ( - MIDDLEWARE, CACHES, ALLOWED_HOSTS, WEBPACK_LOADER -) +from .common import MIDDLEWARE, CACHES, WEBPACK_LOADER from .common import swh_web_config from .common import REST_FRAMEWORK @@ -38,12 +36,6 @@ # We're going through seven (or, in that case, 2) proxies thanks to Varnish REST_FRAMEWORK['NUM_PROXIES'] = 2 -ALLOWED_HOSTS += [ - 'archive.softwareheritage.org', - 'base.softwareheritage.org', - 'archive.internal.softwareheritage.org', -] - DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',