Add a postfix options when setting up the bucket info. This sets the endpoint to be

domain/bucket

instead of

bucket.domain