跳到主要内容
版本:latest

get_https_mode

获取面板 HTTPS 全局模式。false 为宽松模式(未部署 SSL 时仍可 HTTP 访问),true 为严格模式。

  • 路由POST /site
  • actionget_https_mode

输入参数

参数名称必选类型描述
actionString固定值 get_https_mode

无其他参数。

输出参数

参数名称类型描述
-Booleantrue 严格模式,false 宽松模式

示例

请求

POST /site HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded

action=get_https_mode

响应

false