Update Readme
This commit is contained in:
@@ -91,6 +91,7 @@ hexo clean && hexo generate && hexo deploy
|
||||
| `prefix` | 可选 | 文件将被上传到的存储桶内的子目录。例如:`blog/`。 |
|
||||
| `concurrency` | 可选 | 并行上传的文件数量。默认为 `20`。 |
|
||||
| `delete_removed` | 可选 | 如果为 `true`,部署时将自动删除存储桶中存在但本地 `public` 文件夹中不存在的文件。**默认为 `true`**。设置为 `false` 可禁用此同步功能。 |
|
||||
| `force_path_style` | 可选 | 如果为`true`,S3 API 端点 URL 会使用 Path Style 而非 Virtual Host Style。**默认为 `true`**。设置为 `false` 可禁用此功能。 |
|
||||
| `headers` | 可选 | 应用于所有已上传文件的 HTTP 头的 JSON 对象。可用于设置缓存策略。示例:`headers: {"Cache-Control": "max-age=31536000"}`。 |
|
||||
| `aws_cli_profile` | 可选 | 您 `~/.aws/credentials` 文件中用于身份验证的 profile 名称。如果直接提供了 `access_key_id` 和 `secret_access_key`,则此项将被忽略。 |
|
||||
| `aws_key`, `aws_secret` | 可选 | `access_key_id` 和 `secret_access_key` 的旧别名,用于向后兼容。 |
|
||||
@@ -109,4 +110,4 @@ hexo clean && hexo generate && hexo deploy
|
||||
|
||||
## 许可证
|
||||
|
||||
[MIT](https://opensource.org/licenses/MIT)
|
||||
[MIT](https://opensource.org/licenses/MIT)
|
||||
|
||||
Reference in New Issue
Block a user