@@ -25,7 +25,7 @@ inputs:
25
25
- host : anycoder.cn
26
26
- host : abc.com
27
27
async : true
28
- autoRefesh : true
28
+ autoRefresh : true
29
29
cache :
30
30
simpleCache :
31
31
followOrigin : on
@@ -124,19 +124,19 @@ inputs:
124
124
125
125
# ## CDN 配置
126
126
127
- | 参数名称 | 是否必选 | 默认 | 描述 |
128
- | ---------- | -------- | ------- | --------------------------------------------------------------------------------- |
129
- | async | 否 | `false` | 是否为异步操作,如果为 true,则不会等待 CDN 创建或更新成功再返回, |
130
- | autoRefesh | 否 | `false` | 是否自动刷新预热 CDN |
131
- | onlyRefesh | 否 | `false` | 是否只刷新预热 CDN,如果为 `true`,那么只进行刷新预热操作,不会更新 CDN 配置 |
132
- | refreshCdn | 否 | | 刷新 CDN 相关配置,参考 [refreshCdn](#refreshCdn) |
133
- | host | 是 | | 需要接入的 CDN 域名。 |
134
- | host | 是 | | 需要接入的 CDN 域名。 |
135
- | https | 否 | | Https 加速配置,参考:https://cloud.tencent.com/document/api/228/30987#Https |
136
- | cacheKey | 否 | | 节点缓存键配置,参考:https://cloud.tencent.com/document/api/228/30987#CacheKey |
137
- | cache | 否 | | 缓存过期时间配置,参考: https://cloud.tencent.com/document/api/228/30987#Cache |
138
- | referer | 否 | '' | 防盗链设置,参考: https://cloud.tencent.com/document/api/228/30987#Referer |
139
- | ipFilter | 否 | '' | IP 黑白名单配置,参考: https://cloud.tencent.com/document/api/228/30987#IpFilter |
127
+ | 参数名称 | 是否必选 | 默认 | 描述 |
128
+ | ----------- | -------- | ------- | --------------------------------------------------------------------------------- |
129
+ | async | 否 | `false` | 是否为异步操作,如果为 true,则不会等待 CDN 创建或更新成功再返回, |
130
+ | autoRefresh | 否 | `false` | 是否自动刷新预热 CDN |
131
+ | onlyRefesh | 否 | `false` | 是否只刷新预热 CDN,如果为 `true`,那么只进行刷新预热操作,不会更新 CDN 配置 |
132
+ | refreshCdn | 否 | | 刷新 CDN 相关配置,参考 [refreshCdn](#refreshCdn) |
133
+ | host | 是 | | 需要接入的 CDN 域名。 |
134
+ | host | 是 | | 需要接入的 CDN 域名。 |
135
+ | https | 否 | | Https 加速配置,参考:https://cloud.tencent.com/document/api/228/30987#Https |
136
+ | cacheKey | 否 | | 节点缓存键配置,参考:https://cloud.tencent.com/document/api/228/30987#CacheKey |
137
+ | cache | 否 | | 缓存过期时间配置,参考: https://cloud.tencent.com/document/api/228/30987#Cache |
138
+ | referer | 否 | '' | 防盗链设置,参考: https://cloud.tencent.com/document/api/228/30987#Referer |
139
+ | ipFilter | 否 | '' | IP 黑白名单配置,参考: https://cloud.tencent.com/document/api/228/30987#IpFilter |
140
140
141
141
> 注意:`async` 参数对于配置多个 CDN 域名需求,或者在 CI 流程中时,建议配置成 `true`,不然会导致 serverless cli 执行超时,或者 CI 流程超时。
142
142
0 commit comments