diff --git a/sports_events/settings.py b/sports_events/settings.py index 7018ab6..9b785a7 100644 --- a/sports_events/settings.py +++ b/sports_events/settings.py @@ -132,6 +132,8 @@ YANDEX_BUCKET_NAME = os.getenv('YANDEX_BUCKET_NAME') if not DEBUG: + USE_X_FORWARDED_HOST = True + STORAGES = { "default": { "BACKEND": "yandex_s3_storage.MediaStorage",