nginx - не показывает мой сайт

Jedai jedai at gmx.com
Mon Nov 23 12:24:05 MSK 2009


звожу свои сайты, но nginx показывает
welcome to nginx!
*хотя должен показывать мой сайт

/etc/nginx/sites-enambled*


server {
    listen   80;
    server_name  mamm;

    access_log  /var/log/nginx/localhost.access.log;
    location /art {
        root /home/jedai/wwwmy/mamm;
        index  index.php;
    }

    location / {
        root /home/jedai/wwwmy/mamm;
        index  index.php;
    }

    location /doc {
        root   /usr/share;
        autoindex on;
        allow 127.0.0.1;
        deny all;
    }

    location /images {
        root   /usr/share;
        autoindex on;
    }


    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME
/home/jedai/wwwmy/mamm$fastcgi_script_name;
                include        fastcgi_params;

    }

    location ~ /\.ht {
        #deny  all;
    }
}


*
а вот nginx.conf*
http {
    include       /etc/nginx/mime.types;

    access_log    /var/log/nginx/access.log;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    tcp_nodelay        on;

    gzip  on;
    gzip_disable "MSIE [1-6]\.(?!.*SV1)";

    include /etc/nginx/sites-enabled/*;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20091123/f6a20002/attachment.html>


More information about the nginx-ru mailing list