2020-10-02 02:55:23 |
Billy Olsen |
description |
In order for the RadosGW to properly work out S3 requests via HTTPS, the config should contain following options:
rgw resolve cname = true
rgw dns name = ceph-s3.com << DNS name of the S3 endpoint
Currently the charm doesn't support these settings.
https://www.redhat.com/en/blog/https-ization-ceph-object-storage-public-endpoint |
The S3 API provides two mechanisms of accessing buckets; path style requests and virtual host style requests. The charm today supports the path style requests but does not support the virtual host style requests out of the box.
One option to overcome this today is to use the charm's config-flags and specify the "rgw resolve cname" and "rgw dns name" options.
An example of such is:
$ juju config ceph-radosgw config-flags="{'global': {'rgw resolve cname': 'true', 'rgw dns name': 's3.project.serverstack'}}"
One use case for this is to provide static s3 website hosting.
======== Previous Description ==========
In order for the RadosGW to properly work out S3 requests via HTTPS, the config should contain following options:
rgw resolve cname = true
rgw dns name = ceph-s3.com << DNS name of the S3 endpoint
Currently the charm doesn't support these settings.
https://www.redhat.com/en/blog/https-ization-ceph-object-storage-public-endpoint |
|