the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
[emerg]: open() "/web/logs/access.log" failed (2: No such file or directory)
configuration file /usr/local/nginx/conf/nginx.conf test failed
原帖由 遍地阳光 于 2009-11-1 15:18 发表
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
[emerg]: open() "/web/logs/access.log" failed (2: No such file or directory)
configuration file /usr/local/nginx/conf/nginx.conf te ...
原来你没开日志,那用这个
server
{
listen 80;
server_name www.abc.com;
index index.html index.htm index.php;
root /web/www/abc;