用1Panel创建第二个站点flarum时访问不了,可能和php默认配置有关

我用1panel已经在一级域名example.com上创建了halo的站点,然后想再部署一个flarum,然后在安装的时候我把外部访问地址设成forum.example.com,端口默认40020。然后创建网站的时候域名也设置成forum.example.com. 然后添加了https。设置好之后我用https://forum.example.com出现 502 Bad Gateway错误。用http://服务器ip:40020打开出现 500 Internal Privoxy Error

Privoxy encountered an error while processing your request:

Could not load template file no-server-data or one of its included components.

Please contact your proxy administrator.

If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It’s typically the Privoxy install directory).
这个问题。而且防火墙里也打开了40020这个端口。我不清楚到底哪出错了,求解答。
错误日志好像是这个 [error] 8#8: *577 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 46.88.94.254, server: forum.example.com, request: