test x forwareded host
This commit is contained in:
@@ -69,4 +69,11 @@ CELERY_BEAT_SCHEDULE = {
|
||||
'task': 'order.tasks.udpate_bank_status',
|
||||
'schedule': crontab(minute='*'),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
# ==============================================================================
|
||||
# to avoid gateway post problem
|
||||
# ==============================================================================
|
||||
|
||||
USE_X_FORWARDED_HOST = True
|
||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||
Reference in New Issue
Block a user