LoginSignup
0
1

More than 5 years have passed since last update.

asset_sync で '[fog][WARNING] fog: followed redirect to xxxx.s3.amazonaws.com, connecting to the matching region will be more performant' と言われる場合

Posted at

'us-east-1' のバケットに precompile した assets をアップロードする場合に表題の問題が発生した。

s3 の url に問題があるらしい。

以下のように asset_sync の設定で fog_path_style を true に設定すれば解決する。

config/initializers/asset_sync.rb
  config.fog_path_style = true
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1