Skip to content

Saleor Core: the high performance, composable, headless commerce API.

feat added AWS_S3_URL_PROTOCOL (#17305)

p-febisf67ead436603
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 40fe24787d..6a125818cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -56,3 +56,4 @@ All notable, unreleased changes to this project will be documented in this file.
- Fix `products` sorting when using `sortBy: {field: COLLECTION}` - #17189 by @korycins
- Fix checkout funds releasing task - #17198 by @IKarbowiak
- Fixed 'healthcheck' middleware (`/health/` endpoint) not forwarding incoming traffic whenever the protocol wasn't HTTP (such as WebSocket or Lifespan) - #17248 by @NyanKiyoshi
+- Added support for the AWS_S3_URL_PROTOCOL environment variable - #17305 by @p-febis
diff --git a/saleor/settings.py b/saleor/settings.py
index c8d739670f..6131c64d83 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -455,6 +455,7 @@ AWS_QUERYSTRING_EXPIRE = get_bool_from_env("AWS_QUERYSTRING_EXPIRE", 3600)
AWS_S3_CUSTOM_DOMAIN = os.environ.get("AWS_STATIC_CUSTOM_DOMAIN")
AWS_S3_ENDPOINT_URL = os.environ.get("AWS_S3_ENDPOINT_URL", None)
AWS_S3_REGION_NAME = os.environ.get("AWS_S3_REGION_NAME", None)
+AWS_S3_URL_PROTOCOL = os.environ.get("AWS_S3_URL_PROTOCOL")
AWS_SECRET_ACCESS_KEY = os.environ.get("AWS_SECRET_ACCESS_KEY")
AWS_STORAGE_BUCKET_NAME = os.environ.get("AWS_STORAGE_BUCKET_NAME")
AWS_DEFAULT_ACL = os.environ.get("AWS_DEFAULT_ACL", None)