I discussed this on #openstack-swift and surprisingly, Clay et.al. were in favour of additional configuration. I came around to this approach too, when I found that my stunnel does not provide any kind of header at all and thus the automatic guessing is impossible.
Note that this still needs OOO or other orchestration to set url_base. With the patch above, one can set url_base to "https://", in which case hostname is taken from Host: header as usual.
I discussed this on #openstack-swift and surprisingly, Clay et.al. were in favour of additional configuration. I came around to this approach too, when I found that my stunnel does not provide any kind of header at all and thus the automatic guessing is impossible.
Here's a proposed patch: /review. openstack. org/372809
https:/
Note that this still needs OOO or other orchestration to set url_base. With the patch above, one can set url_base to "https://", in which case hostname is taken from Host: header as usual.