# server-help.ru
server {
listen 87.118.120.119:80;
server_name server-help.ru www.server-help.ru;
index index.php;
root /home/admin/www/vhosts/server-help.ru/httpdocs;
location ~* ^.+\.(mpg|avi|mp3|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|txt|tar|mid|midi|wav|rtf|mpeg|pdf|7z|3gp)$ {
root /home/admin/www/vhosts/server-help.ru/httpdocs;
limit_rate 2000K;
access_log off;
}
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|bmp|js|xml|swf)$ {
root /home/admin/www/vhosts/server-help.ru/httpdocs;
access_log off;
expires 30d;
}
location ~ \.php$ {
root /home/admin/www/vhosts/server-help.ru/httpdocs;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
}