apacheAddPort
为 Apache Web 服务器添加额外的 SSL 监听端口。仅在 Apache 环境下有效,Nginx 环境返回 null。
- 路由:
POST /site - action:
apacheAddPort
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 apacheAddPort |
| port | 是 | Integer | 要添加的 HTTPS 端口号 |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| - | Boolean | true 添加成功,Nginx 环境返回 null |
示例
请求
POST /site HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded
action=apacheAddPort&port=8443
响应
null