帮看下我这样设置了新的网站,如代码的绑定域名,/usr/local/nginx/sbin/nginx -t测试OK,但是123dododo.com里面放了探针打不开,home/www文件夹放了探针用123dododo.com/探针.php可以访问,显示的绝对路径还是home/www,请问是什么错误- server

  • {
  • listen 80;
  • server_name www.moltown.com;
  • index index.html index.htm index.php;
  • root /home/www;
  • - #limit_conn crawler 20;
  • - #location /status {
  • #stub_status on;
  • #access_log off;
  • #}
  • - location ~ .*\.(php|php5)?$
  • {
  • fastcgi_pass unix:/tmp/php-cgi.sock;
  • #fastcgi_pass 127.0.0.1:9000;
  • fastcgi_index index.php;
  • include fcgi.conf;
  • }
  • - location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  • {
  • expires 30d;
  • }
  • - location ~ .*\.(js|css)?$
  • {
  • expires 12h;
  • }
  • - log_format access '$remote_addr - $remote_user [$time_local] "$request" '
  • '$status $body_bytes_sent "$http_referer" '
  • '"$http_user_agent" $http_x_forwarded_for';
  • access_log /home/logs/access.log access;
  • }
  • - server
  • {
  • listen 80;
  • server_name www.123dododo.com;
  • index index.html index.htm index.php;
  • root /home/123dododo.com;
  • - #limit_conn crawler 20;
  • - #location /status {
  • #stub_status on;
  • #access_log off;
  • #}
  • - location ~ .*\.(php|php5)?$
  • {
  • fastcgi_pass unix:/tmp/php-cgi.sock;
  • #fastcgi_pass 127.0.0.1:9000;
  • fastcgi_index index.php;
  • include fcgi.conf;
  • }
  • - location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  • {
  • expires 30d;
  • }
  • - location ~ .*\.(js|css)?$
  • {
  • expires 12h;
  • }
  • - log_format aaccess '$remote_addr - $remote_user [$time_local] "$request" '
  • '$status $body_bytes_sent "$http_referer" '
  • '"$http_user_agent" $http_x_forwarded_for';
  • access_log /home/logs/access.log aaccess;
  • }复制代码