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

Oleg Butuzov butuzov at made.com.ua
Mon Nov 23 14:12:43 MSK 2009


рестарт||релоад пробавли после добавления сайта?

2009/11/23 Jedai <jedai at gmx.com>

>
> звожу свои сайты, но 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/*;
> }
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
>


-- 
Made In Ukraine production
www : http://made.com.ua/
icq : 318183

Oleg Butuzov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20091123/b06abba0/attachment.html>


More information about the nginx-ru mailing list