From 65120cd2d4b025643452a5bd39c15d07a0f35bb6 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 12 Jan 2024 16:41:43 +0300 Subject: [PATCH] 0.10.6 fix 403 --- TWB/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TWB/settings.py b/TWB/settings.py index 501f6c5..093658f 100644 --- a/TWB/settings.py +++ b/TWB/settings.py @@ -15,6 +15,7 @@ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/