This commit is contained in:
behruz-dev
2025-10-08 19:13:55 +05:00
parent b87d4ec63a
commit 7097261131
4 changed files with 6 additions and 10 deletions

View File

@@ -1,10 +1,6 @@
from django.conf import settings
from config.env import env
CELERY_BROKER_URL = 'redis://redis:6379/0'
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = settings.TIME_ZONE
if not env('DEBUG'):
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
CELERY_TIMEZONE = settings.TIME_ZONE