Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7774185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:18:53+00:00 2026-06-01T17:18:53+00:00

Because it is not possible to uploade files to a Heroku app. I am

  • 0

Because it is not possible to uploade files to a Heroku app.

I am using a Amazon S3 storage server for images.

The problem is just that the image url is to the Amazon S3 server.

I would like it to be mydomain.com/myimage.png instead of s3.amazon.com/bucket/myimage.png

How is it possible to show a image on a amazon s3 server when visiting example: mydomain.com/myimage.png ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:18:55+00:00Added an answer on June 1, 2026 at 5:18 pm

    You can create a rack middleware that will look for a pattern in the url (/images/* or *.png) and when there’s a match, it will act as a proxy, requesting the image from S3 and serving the content that it receives.

    Make sure you set the caching headers right, so that Heroku’s reverse proxy will cache it and serve it quickly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Upload files using input type=“file” field with .change() event not always firing
Not sure this is possible as I'm just getting started with Amazon S3. I
I know the following is not possible because the Enumeration's type has to be
Ok, I know that serving media files through Django is a not recommended .
I know that its possible to reference third party JavaScript files on the web
I am building a 'tag' system. I quoted it because its not quite a
I think allowing recursion can be very handy sometimes, not because I can code
This question is mostly academic. I ask out of curiosity, not because this poses
Because codenameone can not use external libraries (HttpConnection) then I have to use the
So because Javolution does not work ( see here ) I am in deep

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.