From 1e8e557e7a7f0b2dbebe0f2b374113265f5b8b44 Mon Sep 17 00:00:00 2001 From: ZUS666 Date: Fri, 20 Oct 2023 23:42:58 +0500 Subject: [PATCH] https --- api_spot/api_spot/settings.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api_spot/api_spot/settings.py b/api_spot/api_spot/settings.py index 6d4c3d51..d62a0a80 100644 --- a/api_spot/api_spot/settings.py +++ b/api_spot/api_spot/settings.py @@ -189,8 +189,7 @@ AWS_SECRET_ACCESS_KEY = os.getenv('AWS_SECRET_ACCESS_KEY') AWS_S3_ENDPOINT_URL = os.getenv('AWS_S3_ENDPOINT_URL') AWS_S3_REGION_NAME = os.getenv('AWS_S3_REGION_NAME') - AWS_S3_USE_SSL = False - AWS_S3_URL_PROTOCOL = 'http:' + AWS_S3_USE_SSL = True STORAGES = { 'default': { @@ -202,7 +201,6 @@ "region_name": AWS_S3_REGION_NAME, 'use_ssl': AWS_S3_USE_SSL, 'endpoint_url': AWS_S3_ENDPOINT_URL, - 'url_protocol': AWS_S3_URL_PROTOCOL, } }, 'staticfiles': { @@ -214,7 +212,6 @@ "region_name": AWS_S3_REGION_NAME, 'use_ssl': AWS_S3_USE_SSL, 'endpoint_url': AWS_S3_ENDPOINT_URL, - 'url_protocol': AWS_S3_URL_PROTOCOL, } }, }