想修改伪静态规则,修改“域名.conf”文件,保存时提示如下错误:
ERROR:
nginx: [emerg] "user" directive is not allowed here in /www/server/panel/vhost/nginx/nginx.conf:1
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed
把/www/server/panel/vhost/nginx目录下的Ngixn.conf删除了,然后再修改“域名.conf”文件就可以正常保存了。