Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx -



|| ?

2009/11/23 Jedai <jedai@xxxxxxx>

, 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@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru




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

Oleg Butuzov

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.