Conversation
|
Docker Image for build 1 is available on DockerHub as |
|
Awesome stuff. Can I suggest that instead of having a switch to say "Is this an s3 host", we could simply detect that the We could just check for something like |
|
That's a very interesting idea! Would be much better to auto detect for sure. I had some time today and did dome tests, and now I am confused, because during my tests I had an error and my location block was wrong but it still worked. So, it seems AWS has changed something and doesn't require the headers or the host to be the bucket generated URL. I seems this PR won't be actually necessary. 😐 Let me confirm with some more tests and will either close the PR o adjust with your recommendations. |
|
autodetection will only work if S3 is AWS. |
|
Closing due to inactivity, and probably isn't required. |
|
How would one go about a Minio (S3 Complaint) instance redirection to the correct URL? |
This PR allows to define an S3 host. We use this very often to serve static hosting from our AWS S3 buckets. It references #357.
It uses this location block to serve the S3 bucket content:
The maximum length of the forward_host variable would also have to be increased as 50 is too small.
This is what it looks like: