<br clear="all">звожу ÑÐ²Ð¾Ð¸ ÑÐ°Ð¹Ñ‚Ñ‹, Ð½Ð¾ nginx Ð¿Ð¾ÐºÐ°Ð·Ñ‹Ð²Ð°ÐµÑ‚<br><font size="6">welcome to nginx!</font><br><b>хотя Ð´Ð¾Ð»Ð¶ÐµÐ½ Ð¿Ð¾ÐºÐ°Ð·Ñ‹Ð²Ð°Ñ‚ÑŒ Ð¼Ð¾Ð¹ ÑÐ°Ð¹Ñ‚<br><br>/etc/nginx/sites-enambled</b><br><br><br>server {<br>    listen   80;<br>    server_name  mamm;<br>
<br>    access_log  /var/log/nginx/localhost.access.log;<br>    location /art {<br>    Â Â Â  root /home/jedai/wwwmy/mamm;<br>    Â Â Â  index  index.php;<br>    }<br><br>    location / {<br>    Â Â Â  root /home/jedai/wwwmy/mamm;<br>
    Â Â Â  index  index.php;<br>    }<br><br>    location /doc {<br>    Â Â Â  root   /usr/share;<br>    Â Â Â  autoindex on;<br>    Â Â Â  allow 127.0.0.1;<br>    Â Â Â  deny all;<br>    }<br><br>    location /images {<br>    Â Â Â  root   /usr/share;<br>
    Â Â Â  autoindex on;<br>    }<br><br><br>    location ~ \.php$ {<br>    Â Â Â  fastcgi_pass   <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br>    Â Â Â  fastcgi_index  index.php;<br>                fastcgi_param  SCRIPT_FILENAME  /home/jedai/wwwmy/mamm$fastcgi_script_name;<br>
                include        fastcgi_params;<br><br>    }<br><br>    location ~ /\.ht {<br>    Â Â Â  #deny  all;<br>    }<br>}<br><br><br><b><br>а Ð²Ð¾Ñ‚ nginx.conf</b><br>http {<br>    include       /etc/nginx/mime.types;<br>
<br>    access_log    /var/log/nginx/access.log;<br><br>    sendfile        on;<br>    #tcp_nopush     on;<br><br>    #keepalive_timeout  0;<br>    keepalive_timeout  65;<br>    tcp_nodelay        on;<br><br>    gzip  on;<br>
    gzip_disable &quot;MSIE [1-6]\.(?!.*SV1)&quot;;<br><br>    include /etc/nginx/sites-enabled/*;<br>}<br><br>