Commit 12154f2
committed
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 <[email protected]>1 parent 9238442 commit 12154f2
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
892 | | - | |
| 891 | + | |
893 | 892 | | |
894 | 893 | | |
895 | 894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5914 | 5914 | | |
5915 | 5915 | | |
5916 | 5916 | | |
5917 | | - | |
| 5917 | + | |
5918 | 5918 | | |
5919 | 5919 | | |
5920 | 5920 | | |
| |||
6045 | 6045 | | |
6046 | 6046 | | |
6047 | 6047 | | |
6048 | | - | |
| 6048 | + | |
6049 | 6049 | | |
6050 | 6050 | | |
6051 | 6051 | | |
| |||
0 commit comments