操作系统:CentOS 7.9.2009 x86_64(Py3.7.9)
nginx版本:1.20.2
手动在nginx主配置文件添加一个location规则后,再点击反向代理就报错了
报错如图:
点击nginx反向代理报错
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1831, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1783, in run result = getattr(toObject,get.action)(get) File "/www/server/panel/class/panelSite.py", line 3466, in GetProxyList get.todomain = str(re.search(host_rep, old_conf).group(1))AttributeError: 'NoneType' object has no attribute 'group'
|
|