]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure 63362/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:28:34 +0000 (19:28 -0400)
commit1d620f3936cbef1b1cf2b284c7d0d7456c8df7cc
tree663c1ecc430f6962c28536b8332bde24a632e376
parentbcae93b046350b8beed64638f54787c7073890e7
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