本帖最后由 夜枫 于 2024-12-30 16:39 编辑
9.0.0-lts
6.6.0-28.0.0.34.oe2403.x86_64
添加反向代理后,sever变成:域名_端口名
强制添加域名:端口名,界面崩溃
主配置文件:
server_name dq-172.xxx.com_60000;
出错了,面板运行时发生错误!KeyError: 'domains'
REOUEST DATE:2024-12-30 16:18:52
VERSIONpenEuler 24.03(LTS)x86_64(Py3.7.16)-9.0.0
REMOTE ADDR:192.168.2.6
REQUEST URIOST /mod/proxy/com/add domain?
REQUEST FORM:<{>'id':16'"site name':dg-172.xxx.com 60000,"domains':"dg-172.xxx.com:80'}
Traceback(most recent call last):
File "/data/www/server/panel/BTPanel/ init .py",line 2445,in publicObject
res =run obj.run(to0bject,defs,get)
File"/data/www/server/panel/BTPanel/ init.py",line 2392,in run
result=getattr(to0bject,get.action)(get)
File "/www/server/panel/mod/modController.py",line 84,in model
result = pluginLoader.module_run("<{><}>/<{><}>".format(module name, sub mod name), def name, pdata)
File"/ww/server/panel/mod/project/proxy/comMod.py",line 1440, in add _domain
return public.returnResult(status=True, data=result["domains"])
KeyError:'domains'
|
|