Skip to content

Commit

Permalink
commit by Serverless devs docs 12-1-2023 6:13:26
Browse files Browse the repository at this point in the history
  • Loading branch information
serverless-devs committed Dec 1, 2023
1 parent 03a208e commit e449feb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/zh/fc/yaml/customDomains.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ customDomains:
| functionName | False | String | 函数名 |
| qualifier | False | String | 服务的版本 |
| rewriteConfig | False | [Struct](#rewriteConfig) | URI 重写配置 |
| methods | False | List\<String> | 支持的请求方法列表,支持:HEAD、DELETE、POST、GET、OPTIONS、PUT、PATCH。默认支持GET、POST、PUT、DELETE|


#### rewriteConfig

Expand Down
1 change: 1 addition & 0 deletions content/zh/fc/yaml/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ runtime 目前支持
| args | False | String | 容器启动参数,示例值: '["-arg1", "value1"]' |
| accelerationType | False | String | 镜像加速开关,可选值:'Default'、'None',前者表示开启,后者表示关闭 |
| instanceID | False | String | 容器镜像服务企业版实例的 ID。当容器镜像选择的是企业版实例时,您需要给容器镜像服务企业版添加实例 ID,该实例的默认解析必须是服务所在的 VPC 网络地址。目前不支持 PrivateZone 产品定义域名解析 |
| webServerMode | False | Boolean | 镜像运行是否为Web Server模式。取值为true,表示需要在容器镜像中实现Web Server来监听端口并处理请求。取值为false,表示需要容器运行后主动退出进程,并且ExitCode需要为0。|

### environmentVariables

Expand Down

0 comments on commit e449feb

Please sign in to comment.