Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

S3 endpoint compatibility #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CEikermann opened this issue Jul 21, 2023 · 0 comments
Closed

S3 endpoint compatibility #155

CEikermann opened this issue Jul 21, 2023 · 0 comments

Comments

@CEikermann
Copy link

Is your feature request related to a problem? Please describe.
Right now you can not use nginx-s3-gateway as a s3 endpoint compatible proxy.
It is not possible to use any S3 library with overwriting the s3 endpoint towards the nginx-s3-gateway.
Background usecase: we want to cache files locally when using the AWS SDK

Describe the solution you'd like
It would be great if the nginx could can be adjust to support this use case. See more details in the additional context

Additional context

  • 1.) Run the nginx-s3-gateway on localhost:8000

  • 2.) aws --endpoint-url http://localhost:8000 --debug s3 cp s3://any-bucket-name/any-file-path.txt .

  • nginx-s3-gateway is not support this case, as its calls the following url: http://localhost:8000/any-bucket-name/any-file-path.txt

  • This way also the AWS SDK is emitting S3 request when using s3 endpoint url overwrite

  • It would be great, if we can support this case, maybe but adding a location part into the nginx conf which listens on /{S3_BUCKET_NAME} - this should solve the problem already

Looking forward to your reply on this

@CEikermann CEikermann changed the title S3 endpoint Compatibility S3 endpoint compatibility Jul 21, 2023
@nginx nginx locked and limited conversation to collaborators Jul 21, 2023
@dekobon dekobon converted this issue into discussion #156 Jul 21, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant