<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
&#1047;&#1076;&#1088;&#1072;&#1074;&#1089;&#1090;&#1074;&#1091;&#1081;&#1090;&#1077;.<BR>
<BR>
&#1057;&#1090;&#1086;&#1083;&#1082;&#1085;&#1091;&#1083;&#1089;&#1103; &#1089; &#1073;&#1072;&#1075;&#1086;&#1084;. &#1057;&#1082;&#1086;&#1088;&#1077;&#1077; &#1074;&#1089;&#1077;&#1075;&#1086; nginx'&#1072;.<BR>
<BR>
&#1057;&#1080;&#1090;&#1091;&#1072;&#1094;&#1080;&#1103; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1072;&#1103; &#1089; ipb &#1092;&#1086;&#1088;&#1091;&#1084;&#1072; &#1076;&#1077;&#1083;&#1072;&#1077;&#1090;&#1089;&#1103; ajax &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1085;&#1072; &quot;&#1073;&#1099;&#1089;&#1090;&#1088;&#1086;&#1077; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077;&quot; &#1087;&#1086;&#1089;&#1090;&#1072;. &#1042; &#1086;&#1090;&#1074;&#1077;&#1090; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1095;&#1082;&#1072; &#1091; &#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1081; &#1074; body &#1074; &#1085;&#1072;&#1095;&#1072;&#1083;&#1086; &#1080; &#1074; &#1082;&#1086;&#1085;&#1077;&#1094; &#1076;&#1086;&#1073;&#1072;&#1074;&#1083;&#1077;&#1085;&#1086; &#1085;&#1077;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1086; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083;&#1086;&#1074;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1093; &#1085;&#1077; &#1073;&#1099;&#1083;&#1086; &#1074; &#1084;&#1086;&#1084;&#1077;&#1085;&#1090; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1082;&#1080;.(&#1063;&#1090;&#1086;&#1073;&#1099; &#1101;&#1090;&#1086; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1080;&#1090;&#1100; &#1103; &#1076;&#1086;&#1073;&#1072;&#1074;&#1080;&#1083; &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1077;&#1085;&#1080;&#1077; &#1089;&#1092;&#1086;&#1088;&#1084;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1085;&#1086;&#1075;&#1086; &#1086;&#1090;&#1074;&#1077;&#1090;&#1072; &#1074; &#1092;&#1072;&#1081;&#1083; &#1085;&#1077;&#1087;&#1086;&#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1086; &#1087;&#1077;&#1088;&#1077;&#1076; &#1086;&#1090;&#1076;&#1072;&#1095;&#1077;&#1081; &#1082;&#1083;&#1080;&#1077;&#1085;&#1090;&#1091;). &#1042; &#1085;&#1072;&#1095;&#1072;&#1083;&#1086; body &#1076;&#1086;&#1073;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103; &quot;8366\n&quot; &#1074; &#1082;&#1086;&#1085;&#1077;&#1094; &quot;\n0&quot;. &#1057;&#1080;&#1084;&#1074;&#1086;&#1083;&#1099; &#1074; &#1085;&#1072;&#1095;&#1072;&#1083;&#1077; &#1080;&#1079;&#1084;&#1077;&#1085;&#1103;&#1102;&#1090;&#1089;&#1103;, &#1074; &#1093;&#1074;&#1086;&#1089;&#1090;&#1077; &#1074;&#1089;&#1077;&#1075;&#1076;&#1072; 0. &#1050;&#1086;&#1083;&#1080;&#1095;&#1077;&#1089;&#1090;&#1074;&#1086; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083;&#1086;&#1074; &#1085;&#1077; &#1084;&#1077;&#1085;&#1103;&#1077;&#1090;&#1089;&#1103;...<BR>
<BR>
&#1059; &#1075;&#1083;&#1102;&#1082;&#1072; &#1077;&#1089;&#1090;&#1100; &#1079;&#1072;&#1074;&#1080;&#1089;&#1080;&#1084;&#1086;&#1089;&#1090;&#1100; &#1086;&#1090; &#1087;&#1088;&#1086;&#1082;&#1089;&#1080;...<BR>
&#1045;&#1089;&#1083;&#1080; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1080;&#1076;&#1077;&#1090;
<PRE>
&#1082;&#1083;&#1080;&#1077;&#1085;&#1090;=&gt;nginx=&gt;apache
</PRE>
&#1075;&#1083;&#1102;&#1082; &#1087;&#1088;&#1086;&#1103;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103;, &#1072; &#1077;&#1089;&#1083;&#1080; 
<PRE>
&#1082;&#1083;&#1080;&#1077;&#1085;&#1090;=&gt;squid=&gt;nginx=&gt;apache
</PRE>
&#1085;&#1077; &#1087;&#1088;&#1086;&#1103;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103;.<BR>
<BR>
&#1056;&#1072;&#1079;&#1084;&#1077;&#1088; body &#1086;&#1090;&#1074;&#1077;&#1090;&#1072;, &#1085;&#1072; &#1084;&#1086;&#1084;&#1077;&#1085;&#1090; &#1086;&#1090;&#1076;&#1072;&#1095;&#1080; &#1077;&#1075;&#1086; &#1080;&#1079; php 31728 &#1073;&#1072;&#1081;&#1090;, &#1085;&#1086; &#1101;&#1090;&#1086; &#1083;&#1080;&#1096;&#1100; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, &#1103; &#1085;&#1077; &#1079;&#1085;&#1072;&#1102; &#1090;&#1086;&#1095;&#1085;&#1091;&#1102; &#1075;&#1088;&#1072;&#1085;&#1080;&#1094;&#1091; &#1086;&#1073;&#1098;&#1077;&#1084;&#1072; &#1076;&#1083;&#1103; &#1101;&#1090;&#1086;&#1075;&#1086; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072;, &#1087;&#1086;&#1089;&#1083;&#1077; &#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1075;&#1086; &#1073;&#1072;&#1075;&#1072; &#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#1077;&#1090; &#1087;&#1088;&#1086;&#1103;&#1074;&#1083;&#1103;&#1090;&#1100;&#1089;&#1103;.<BR>
<BR>
&#1047;&#1072;&#1087;&#1086;&#1076;&#1086;&#1079;&#1088;&#1080;&#1083; &#1095;&#1090;&#1086; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1086; &#1074; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1077; &#1074;&#1080;&#1085;&#1086;&#1074;&#1072;&#1090; &#1089;&#1078;&#1072;&#1090;&#1080;&#1077; &#1074;&#1099;&#1074;&#1086;&#1076;&#1072; gzip'&#1086;&#1084; - &#1091;&#1073;&#1088;&#1072;&#1083; &#1080;&#1079; &#1072;&#1087;&#1072;&#1095;&#1072; mod_deflate &#1080; &#1076;&#1086;&#1073;&#1072;&#1074;&#1080;&#1083; &#1074; &#1074;&#1093;&#1086;&#1089;&#1090; nginx'&#1072; &quot;gzip off;&quot; - &#1089;&#1078;&#1072;&#1090;&#1080;&#1077; &#1080;&#1089;&#1095;&#1077;&#1079;&#1083;&#1086;, &#1085;&#1086; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072; &#1086;&#1089;&#1090;&#1072;&#1083;&#1072;&#1089;&#1100; &#1085;&#1072; &#1084;&#1077;&#1089;&#1090;&#1077;.<BR>
<BR>
&#1052;&#1086;&#1103; &#1082;&#1086;&#1085;&#1092;&#1080;&#1075;&#1091;&#1088;&#1072;&#1094;&#1080;&#1103;.<BR>
# nginx -V<BR>
nginx version: nginx/0.6.32<BR>
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access_log --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --with-md5-asm --with-md5=/usr/include --with-sha1-asm --with-sha1=/usr/include --without-http_fastcgi_module --with-http_ssl_module --with-http_stub_status_module --add-module=/var/tmp/portage/www-servers/nginx-0.6.32/work/nginx_uploadprogress_module<BR>
<BR>
&#1050;&#1086;&#1085;&#1092;&#1080;&#1075; vhost'&#1072;
<PRE>
upstream upstr_some_forum {
&nbsp;&nbsp;&nbsp; server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.1.50; 
&nbsp;&nbsp;&nbsp; server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.100.50 backup;
}
server {
&nbsp;&nbsp;&nbsp; listen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a.b.c.d;

&nbsp;&nbsp;&nbsp; server_name .some-forum.ru;

&nbsp;&nbsp;&nbsp; access_log&nbsp; /srv/some-forum.ru/log/nginx/access.log;
&nbsp;&nbsp;&nbsp; access_log&nbsp; /var/log/nginx/some-forum-access.log generic;
&nbsp;&nbsp;&nbsp; error_log&nbsp;&nbsp; /var/log/nginx/some-forum-error.log info;

&nbsp;&nbsp;&nbsp; location ~ ^/(style_(?:images|emoticons|avatars|captcha)|uploads|jscripts|cache).*\.(?:js|css|gif|png|jpe?g|html)$ { 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root /srv/some-forum.ru/www/htdocs/$1/;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expires 7d;
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; location / {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://upstr">http://upstr</A>_some_forum;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header&nbsp;&nbsp; Host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $host;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header&nbsp;&nbsp; X-Real-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $remote_addr;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header&nbsp;&nbsp; X-Forwarded-For&nbsp; $proxy_add_x_forwarded_for;
&nbsp;&nbsp;&nbsp; }
}

</PRE>
&#1054;&#1089;&#1085;&#1086;&#1074;&#1085;&#1086;&#1081; &#1082;&#1086;&#1085;&#1092;&#1080;&#1075; nginx'&#1072; &#1074; &#1072;&#1090;&#1090;&#1072;&#1095;&#1077;.<BR>
&#1053;&#1072; upstream'&#1077; &#1086;&#1073;&#1099;&#1095;&#1085;&#1099;&#1081; &#1072;&#1087;&#1072;&#1095; &#1089; php'&#1086;&#1081;. <BR>
&#1054;&#1057; - Gentoo linux-2.6.25-hardened-r13
</BODY>
</HTML>