v.20.11Improvement
Workaround for S3 URL Handling with Nginx Proxy
Workaround for useS3with nginx server as proxy. Nginx currenty does not accept urls with empty path likehttp://domain.com?delete, but vanilla aws-sdk-cpp produces this kind of urls. This commit uses patched aws-sdk-cpp version, which makes urls with "/" as path in this cases, likehttp://domain.com/?delete. #16814 (ianton-ru).
Why it matters
Nginx does not accept URLs with empty paths, which causes issues when ClickHouse usesS3 storage through an nginx proxy, because the vanilla AWS SDK generates such URLs. This feature fixes URL formatting to ensure compatibility and proper operation of the S3 storage backend behind nginx proxies.How to use it
This fix is applied internally by using a patched version of the AWS SDK. Users do not need to perform additional configuration to enable this behavior; it is applied automatically when usingS3 with an nginx proxy.