From f0da0613235ffde259fdfab56aa5b6651195f627 Mon Sep 17 00:00:00 2001 From: qwerrrqw Date: Fri, 15 Nov 2024 22:15:07 +0900 Subject: [PATCH] Error Correction --- {{cookiecutter.project_slug}}/config/settings/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index b26ccd36c9..69175f5e3b 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -51,6 +51,7 @@ } +REDIS_URL = env("REDIS_TLS_URL") CELERY_REDIS_BACKEND_USE_SSL = {"ssl_cert_reqs": ssl.CERT_NONE} CELERY_BROKER_USE_SSL = {"ssl_cert_reqs": ssl.CERT_NONE} REDIS_SSL = env.bool("REDIS_SSL", default=False) @@ -61,7 +62,6 @@ "redis.connection.SSLConnection" ) CACHES["default"]["OPTIONS"]["SSL_CERT_REQS"] = None - # SECURITY # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header