Added functionality to confige the S3-Path-Style-Option. By default the S3-clients uses the bucketname as hostname to access the S3 storage, eg. https://BUCKET.s3.provider.com/....
If the prvoider does not support this, but instead uses the format http://s3.provider.com/BUCKET/... consul-backinator was not working.
Now it is possible to set the parameter pathstyle=true in the S3-URL, and the bucket will be accessed by path and not by hostname.
Example
s3://KEY:SECRET@BUCKET/test_backup.bak?region=us-east-1&endpoint=s3.provider.com&pathstyle=true
Added functionality to confige the S3-Path-Style-Option. By default the S3-clients uses the bucketname as hostname to access the S3 storage, eg. https://BUCKET.s3.provider.com/....
If the prvoider does not support this, but instead uses the format http://s3.provider.com/BUCKET/... consul-backinator was not working.
Now it is possible to set the parameter pathstyle=true in the S3-URL, and the bucket will be accessed by path and not by hostname.
Example s3://KEY:SECRET@BUCKET/test_backup.bak?region=us-east-1&endpoint=s3.provider.com&pathstyle=true