Closed nika-begiashvili closed 5 years ago
@nika-begiashvili I'm adding a unit test to the application to prove this change does what we expect it to. Are you able to provide me with a sample configuration?
@nika-begiashvili In addition to the above request for sample configuration details, can you give us any more details about the S3-like service you are using? You mention "some non-AWS S3 implementations" (of which Digital Ocean Spaces is one), but in order for us to ensure we support your requirement we will need to test against the same service you wish to use.
cc @eduardoboucas
@jimlambie thank you for support, but I'm starting to doubt this PR, since this is deprecated way to use S3 I believe better option would be to rewrite url using reverse proxy the storage I'm using is caringo swarm which unfortunately is not open-source, maybe fake-s3 or pithos has path style access but I'm not sure
I've managed to make it work without this PR, using reverse proxy to rewrite urls I'm closing this PR
@nika-begiashvili thanks for the update. And do let us know if there's anything we can help you with in the future!
Some non aws S3 implementations do not serve objects at bucket.region.endpoint location but rather use endpoint/bucket style. to facilitate this kind of behavior aws-sdk-js provides
s3ForcePathStyle
option. this pull request exposes that option to cdn config