From eb5a52012c0b4233c508ba043dc2a2eaf30c4f5e Mon Sep 17 00:00:00 2001 From: moustachu Date: Thu, 14 Dec 2023 10:33:57 +0100 Subject: [PATCH] fix: Active Storage path style for scaleway object storage (#175) Force the object storage URL to be like : `https:////...` instead of `https://./...` --- config/storage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/storage.yml b/config/storage.yml index f902f246..54e2f21c 100644 --- a/config/storage.yml +++ b/config/storage.yml @@ -13,6 +13,7 @@ scaleway: secret_access_key: <%= Rails.application.secrets.dig(:scaleway, :token) %> region: fr-par bucket: <%= Rails.application.secrets.dig(:scaleway, :bucket_name) %> + force_path_style: true # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) # amazon: