宝塔用户_yfbjuy 发表于 2025-5-16 13:36:53

【待反馈】宝塔安装nginx后出现这个错误

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
centos7系统版本:
9.6.0
问题描述:
nginx: "location" directive is not allowed here in /www/server/panel/vhost/nginx/btwaf.conf:2
相关截图(日志、错误):
https://cdn.z.wiki/autoupload/20250516/Jbv8/1150X585/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE-17473737123493.png

阿珂 发表于 2025-5-16 15:52:32

卸载nginx防火墙,看看是否能启动
再重新安装nginx防火墙
页: [1]
查看完整版本: 【待反馈】宝塔安装nginx后出现这个错误