]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure 63151/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 7 May 2025 04:37:52 +0000 (12:37 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 7 May 2025 06:04:43 +0000 (14:04 +0800)
commit12154f287eb86c4dd48d7b6f02c725e858ff99ab
tree6a1514b5c5526acb0eb877b08dcb1acd0e711203
parent9238442fda536976cb9292893f82503da7c5de16
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>
src/rgw/rgw_rest.h
src/rgw/rgw_rest_s3.cc