1、服务内部错误: the “listen … http2” directive is deprecated, use the “http2” directive instead in
这是有配置指令被废弃,挨个查看所有网站的配置文件,如果 listen 包含 http2 关键字,删除 http2 关键字。
2、服务内部错误: no “ssl_certificate” is defined for the “listen … quic” directive in
找一个配置有ssl证书的站点,复制配置文件中的 ssl_certificate xxx; 和 ssl_certificate_key xxx; 这两行,加入到 /opt/1panel/apps/openresty/openresty/conf/default/00.default.conf 文件中的大括号 } 行之前。
这个问题在于默认站开启 quic ,但是quic需要证书,从v1升级上来的没有默认证书,不支持全新安装的v2有没有这个问题。