diff --git a/backend/core/settings/development.py b/backend/core/settings/development.py index 0d71bb0..328ed4a 100644 --- a/backend/core/settings/development.py +++ b/backend/core/settings/development.py @@ -13,4 +13,11 @@ MEDIA_URL = '/shop_media/' MEDIA_ROOT = 'app/media' STATIC_URL = '/shop_static/' -STATIC_ROOT = 'app/static' \ No newline at end of file +STATIC_ROOT = 'app/static' + +# ============================================================================== +# 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