Skip to content

为 Apache 添加额外的 HTTPS 监听端口

为 Apache Web 服务器添加额外的 SSL 监听端口。仅在 Apache 环境下有效,Nginx 环境返回 null。

POST
https://your-panel.example.com:8888/site
更新于 查看 Markdown

Request bodyX-WWW-FORM-URLENCODEDrequired

  • request_timestringrequired

    Unix 时间戳。

  • request_tokenstringrequired

    按 API 概览生成的签名。

  • actionapacheAddPortrequired

    具体操作名称。

  • portintegerrequired

    要添加的 HTTPS 端口号

Returns

default

接口响应,业务状态见下方详细说明。

各操作详细说明

apacheAddPortaction=apacheAddPort为 Apache 添加额外的 HTTPS 监听端口

为 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
Navigation

Type to search…

↑↓ navigate↵ selectEsc close