From 8a9f612def96a6656e892fb79f45add8838a9887 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 15 Dec 2020 16:07:08 -0800 Subject: [PATCH] thumbor: Respect S3_ENDPOINT_URL setting. Signed-off-by: Anders Kaseorg --- zthumbor/thumbor_settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zthumbor/thumbor_settings.py b/zthumbor/thumbor_settings.py index 16a737c68e..d5a310c7e8 100644 --- a/zthumbor/thumbor_settings.py +++ b/zthumbor/thumbor_settings.py @@ -655,9 +655,10 @@ RESULT_STORAGE_STORES_UNSAFE = True ################################### AWS S3 settings ############################ if not IS_LOCAL_STORAGE: - from zproject.configured_settings import S3_AUTH_UPLOADS_BUCKET, S3_REGION + from zproject.configured_settings import S3_AUTH_UPLOADS_BUCKET, S3_ENDPOINT_URL, S3_REGION TC_AWS_REGION = S3_REGION # AWS Region + TC_AWS_ENDPOINT = S3_ENDPOINT_URL TC_AWS_STORAGE_BUCKET = S3_AUTH_UPLOADS_BUCKET # S3 bucket for Storage TC_AWS_STORAGE_ROOT_PATH = 'thumbnails' # S3 path prefix for Storage bucket