<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 "MSIE [1-6]\.(?!.*SV1)";<br><br> include /etc/nginx/sites-enabled/*;<br>}<br><br>