From ba55d7491f1b8f4e388950cc347fc4c56d81433f Mon Sep 17 00:00:00 2001 From: George Lacey Date: Tue, 1 Jun 2021 14:47:16 +0100 Subject: [PATCH] Add subdomain to allowed hosts --- borgweb/borgweb/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgweb/borgweb/production.py b/borgweb/borgweb/production.py index 83f826b..ae5f05f 100644 --- a/borgweb/borgweb/production.py +++ b/borgweb/borgweb/production.py @@ -11,7 +11,7 @@ DEBUG = False AXES_LOCKOUT_CALLABLE = "borg.views.axes" -ALLOWED_HOSTS = ['127.0.0.1', 'localhost', 'george.ooo'] +ALLOWED_HOSTS = ['127.0.0.1', 'localhost', 'george.ooo', 'borg.george.ooo'] AUTHENTICATION_BACKENDS = [ 'axes.backends.AxesBackend',