cqdxbq 发表于 2012-2-7 15:39:09

nginx 无法启动

nginx 重启后出现以下错误
Starting nginx daemon: nginxnginx: server name "http://www.guket.com$1" has suspicious symbols in /usr/local/nginx/conf/vhost/www.guket.com.conf:34
nginx: invalid server name or wildcard "^(.*)" on 0.0.0.0:80
nginx already running.

麻烦问下是怎么回事啊

cqdxbq 发表于 2012-2-7 15:44:25

/usr/local/nginx/sbin/nginx -t 如下
nginx: invalid server name or wildcard "^(.*)" on 0.0.0.0:80
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed

cqdxbq 发表于 2012-2-7 15:51:22

解决了 缺少listen 80;
页: [1]
查看完整版本: nginx 无法启动