diff --git a/config/environments/production.rb b/config/environments/production.rb index dc70baa48..73ce92b91 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -63,9 +63,8 @@ config.paperclip_defaults = { storage: :s3, - url: "https://assets.datacite.org/images/members/:filename", - s3_protocol: :https, - s3_host_alias: "sub.domain.com", + s3_protocol: "https", + s3_host_alias: "assets.datacite.org", url: ":s3_alias_url", path: "/images/members/:filename", preserve_files: true,