fix
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user