Configure activestorage for production

access keys and region are configured using environment variables
This commit is contained in:
2020-04-09 12:24:18 +02:00
parent c1b9f8e701
commit 829f534afd
4 changed files with 25 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ Rails.application.configure do
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local
config.active_storage.service = :amazon
# Mount Action Cable outside main process or domain.
# config.action_cable.mount_path = nil