Skip to content

Commit

Permalink
fix: Active Storage path style for scaleway object storage (#175)
Browse files Browse the repository at this point in the history
Force the object storage URL to be like :  
`https://<endpoint>/<bucket>/...`
instead of  
`https://<bucket>.<endpoint>/...`
  • Loading branch information
moustachu authored Dec 14, 2023
1 parent 2456dbb commit eb5a520
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eb5a520

Please sign in to comment.