新增网站nginx.conf配置问题
回 1楼dongshan8的帖子
版主你好,我重新启动云主机了。nginx也应该重启了吧。 现在输入网址直接下载一个文件,用记事本打开是以下代码:require(dirname(__FILE__).'/do/main.php');?>-------------------------
回 1楼dongshan8的帖子
[root@AY1207220849151896269 sbin]# nginx -s reloadnginx: [warn] the 'log_format' directive may be used only on 'http' level in /alidata/server/nginx/conf/vhosts/default±¸·ۮconf:25nginx: [warn] the 'log_format' directive may be used only on 'http' level in /alidata/server/nginx/conf/vhosts/linda.conf:25nginx: [warn] the 'log_format' directive may be used only on 'http' level in /alidata/server/nginx/conf/vhosts/phpwind.conf:25nginx: [emerg] duplicate 'log_format' name 'phpwind' in /alidata/server/nginx/conf/vhosts/phpwind.conf:25[root@AY1207220849151896269 sbin]#
赞0
踩0