From 948e90b95aa71a635fe5933e6e4a01823db6ac86 Mon Sep 17 00:00:00 2001 From: Mara Sophie Grosch Date: Fri, 11 Nov 2022 12:03:18 +0100 Subject: [feature] S3: add config flag to proxy S3 media (#1014) * S3: add config value "proxy" for not redirecting Signed-off-by: Mara Sophie Grosch * S3: document new config value "proxy" * S3: add new config value "proxy" to test scripts Signed-off-by: Mara Sophie Grosch --- example/config.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example') diff --git a/example/config.yaml b/example/config.yaml index 59c199899..bf9838d84 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -320,6 +320,11 @@ storage-local-base-path: "/gotosocial/storage" # Default: "" storage-s3-endpoint: "" +# Bool. If data stored in S3 should be proxied through GoToSocial instead of redirecting to a presigned URL. +# +# Default: false +storage-s3-proxy: false + # String. Access key part of the S3 credentials. # Consider setting this value using environment variables to avoid leaking it via the config file # Only required when running with the s3 storage backend. -- cgit v1.2.3