diff --git a/backend/core/settings/production.py b/backend/core/settings/production.py index b6d1107..ec62353 100644 --- a/backend/core/settings/production.py +++ b/backend/core/settings/production.py @@ -69,4 +69,11 @@ CELERY_BEAT_SCHEDULE = { 'task': 'order.tasks.udpate_bank_status', 'schedule': crontab(minute='*'), }, -} \ No newline at end of file +} + +# ============================================================================== +# to avoid gateway post problem +# ============================================================================== + +USE_X_FORWARDED_HOST = True +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') \ No newline at end of file