nginx.conf文件没有include sec.conf,是在站点配置文件引入sec.conf,只能逐个注释掉站点配置文件里这行,而且通过宝塔在线编辑站点配置文件无法保存,保存会弹出错误提示:
ginx: [emerg] open() "/www/server/nginx/conf/sec.conf" failed (2: No such file or directory) in /www/server/panel/vhost/nginx/www.xxx.org.conf:13
原因估计是保存配置文件会reload nginx。所以只能在终端编辑站点配置文件。
|