]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure 63363/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 7 May 2025 04:37:52 +0000 (12:37 +0800)
committerCasey Bodley <cbodley@redhat.com>
Mon, 19 May 2025 23:29:04 +0000 (19:29 -0400)
commit1f039419c5136daff56d3fb5c3272c6c749b821f
tree43c4e093f6fc5c688654b0e2bdae7eefbda61b47
parentaf8d97740da4dd54e3a35c94be5b81ebce2ca5d8
rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure

Instead of relying only on SERVER_PORT_SECURE.

This is useful when a proxy is used in front of the rgw for ssl
terminations.

Fixes: https://tracker.ceph.com/issues/71229
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit 12154f287eb86c4dd48d7b6f02c725e858ff99ab)
src/rgw/rgw_rest.h
src/rgw/rgw_rest_s3.cc