在 HTTPS 上禁用 HSTS

注意: 以下说明仅适用于 LPM。
  1. 打开 httpd-ssl.conf 文件。

  2. IncludeOptional conf/httpd-lpm-hsts.conf 行之前添加 #

    Sample configuration

    # Include lpm specific configuration file
    # 
    # IncludeOptional conf/httpd-lpm-hsts.conf
  3. 保存文件。

  4. 重新启动 Apache 服务。