From 04bce69dedcd7cb4e3d44a863c4cda9b82f9bdeb Mon Sep 17 00:00:00 2001 From: Sylvain Dumont Date: Tue, 11 Aug 2020 18:34:06 +0200 Subject: [PATCH] Bugfix: add missing option to s3_compatible to support minio (#1134) minio doesn't work without force_path_style more info here: https://kevinjalbert.com/rails-activestorage-configuration-for-minio/ --- config/storage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/storage.yml b/config/storage.yml index ba053d00e..437f55d42 100644 --- a/config/storage.yml +++ b/config/storage.yml @@ -36,6 +36,7 @@ s3_compatible: region: <%= ENV.fetch('STORAGE_REGION', '') %> bucket: <%= ENV.fetch('STORAGE_BUCKET_NAME', '') %> endpoint: <%= ENV.fetch('STORAGE_ENDPOINT', '') %> + force_path_style: <%= ENV.fetch('STORAGE_FORCE_PATH_STYLE', false) %> # mirror: # service: Mirror