fix path style
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
d97f66454c
commit
d26951beb4
|
@ -83,9 +83,7 @@ trait S3ConnectionTrait {
|
||||||
],
|
],
|
||||||
'endpoint' => $base_url,
|
'endpoint' => $base_url,
|
||||||
'region' => $this->params['region'],
|
'region' => $this->params['region'],
|
||||||
'command.params' => [
|
'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false
|
||||||
'PathStyle' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
|
|
||||||
]
|
|
||||||
];
|
];
|
||||||
if (isset($this->params['proxy'])) {
|
if (isset($this->params['proxy'])) {
|
||||||
$options['request.options'] = ['proxy' => $this->params['proxy']];
|
$options['request.options'] = ['proxy' => $this->params['proxy']];
|
||||||
|
|
Loading…
Reference in New Issue