Tomzhao 发表于 2024-9-16 16:14:57

【待反馈】nginx防火墙安装错误

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.2.0 ,所有版本都试过了

系统版本:ubuntu20
问题描述:nginx防火墙安装错误
相关截图(日志、错误):
安装失败: <pre>Starting nginx... nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done Stoping nginx... nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done Starting nginx... nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done install.sh: line 670: netstat: command not found Stopping Bt-ipFilter service...  only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Starting nginx... nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done 安装失败,可以重新安装一次试试 安装失败,可能不兼容该Nginx、请切换一个Nginx版本后重新安装 5秒后结束安装进程!!!!</pre>

堡塔运维南一 发表于 2024-9-16 18:02:03

您好,执行下面命令安装netstat命令,然后再安装nginx防火墙
apt-get update-y
apt-get install net-tools -y
页: [1]
查看完整版本: 【待反馈】nginx防火墙安装错误