On the blog site created by Rails 6, I use Heroku to retrieve the posted image saved in Amazon S3.
The url is as follows:
https://example.s3.amazonaws.com/uploads/article/picture1/78/window.png
I'd like to match the domain of the blog URL with the domain of the image URL. Is there a way?
https://example.com/uploads/article/picture1/78/window.png
I would like to start with https://example.com
as shown in .
This will allow other shared blog service sites to retrieve posted images.
I don't know how to do this by changing the settings of Amazon S3, changing my development environment, or using other storage services instead of Amazon S3.
amazon-s3
I think I can do something
[AWS] Make the URL of the S3 image a unique domain (subdomain)
https://brainlog.jp/server/aws/post-3180/
© 2024 OneMinuteCode. All rights reserved.