diff --git a/plugins/zabbix/index.py b/plugins/zabbix/index.py index ec2a199b1..34897ac78 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -224,6 +224,14 @@ def start(): def stop(): val = zOp('stop') + + # 删除nginx配置 + nginx_dst_vhost = zabbixNginxConf() + if os.path.exists(nginx_dst_vhost): + os.remove(nginx_dst_vhost) + + mw.restartWeb() + return val def restart():