File tree Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
/vendor
2
2
composer.lock
3
3
.DS_Store
4
- docs
4
+ docs
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ You can find it at `config/cdn.php`
81
81
'version' => 'latest',
82
82
'region' => '',
83
83
84
+
84
85
'buckets' => [
85
86
'my-backup-bucket' => '*',
86
87
]
@@ -138,6 +139,14 @@ Set the CDN URL:
138
139
'url' => 'https://s3.amazonaws.com',
139
140
```
140
141
142
+ ##### HTTP
143
+
144
+ Set the HTTP parameters:
145
+
146
+ ``` php
147
+ 'http' => '['verify' => path-to-your-pem-certificate-file]',
148
+ ```
149
+
141
150
##### Bypass
142
151
143
152
To load your LOCAL assets for testing or during development, set the ` bypass ` option to ` true ` :
Original file line number Diff line number Diff line change 28
28
* @property string $acl
29
29
* @property string $cloudfront
30
30
* @property string $cloudfront_url
31
+ * @property string $http
31
32
*
32
33
* @author Mahmoud Zalt <[email protected] >
33
34
*/
@@ -48,6 +49,7 @@ class AwsS3Provider extends Provider implements ProviderInterface
48
49
'version ' => null ,
49
50
'region ' => null ,
50
51
'buckets ' => null ,
52
+ 'http ' => null ,
51
53
'acl ' => 'public-read ' ,
52
54
'cloudfront ' => [
53
55
'use ' => false ,
@@ -158,6 +160,7 @@ public function connect()
158
160
$ this ->setS3Client (new S3Client ([
159
161
'version ' => $ this ->supplier ['version ' ],
160
162
'region ' => $ this ->supplier ['region ' ],
163
+ 'http ' => $ this ->supplier ['http ' ]
161
164
]
162
165
)
163
166
);
Original file line number Diff line number Diff line change 54
54
*/
55
55
'threshold ' => 10 ,
56
56
57
+ /*
58
+ |--------------------------------------------------------------------------
59
+ | HTTP Parameters
60
+ |--------------------------------------------------------------------------
61
+ |
62
+ | Set your HTTP parameters.
63
+ | Add you .pem certificate to your request.
64
+ |
65
+ */
66
+ 'http ' => [],
67
+
57
68
/*
58
69
|--------------------------------------------------------------------------
59
70
| CDN Supported Providers
You can’t perform that action at this time.
0 commit comments