如何代理我的S3流量?
在访问S3云提供商时,如果您愿意的话重定向通过代理,您可以添加以下参数到您的Artifactorybinarystore.xml文件:
proxyHost:代理服务器的主机名或IP地址 |
在实践中,它看起来类似于下面的例子:<配置version = " 2 " >
<链模板= " google-storage-v2 " / >
< bucketName >我的桶< / bucketName >
<路径> myPath > < /路径
< rootFoldersNameLength > 3 < / rootFoldersNameLength >
假< / useInstanceCredentials < useInstanceCredentials > >
10 < signatureExpirySeconds > < / signatureExpirySeconds >
< proxyHost > 127.0.0.1 < / proxyHost >
8888年< proxyPort > < / proxyPort >
< proxyIdentity >用户名< / proxyIdentity >
< proxyCredential > < / proxyCredential密码>
50 < maxConnections > < / maxConnections >
120000年< connectionTimeout > < / connectionTimeout >
> < /供应商
< / config >
