<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
margin: 5px 5px 5px 5px;
background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
font-size: 9pt;
font-family: 'Courier New';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.rvts1 /* Heading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #0000ff;
}
span.rvts2 /* Subheading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #000080;
}
span.rvts3 /* Keywords */
{
font-size: 10pt;
font-family: 'Arial';
font-style: italic;
color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
span.rvts6
{
font-size: 11pt;
font-family: 'tahoma';
font-weight: bold;
color: #ffffff;
background-color: #0000ff;
}
span.rvts7
{
font-size: 11pt;
font-family: 'tahoma';
}
span.rvts8
{
font-size: 11pt;
font-family: 'tahoma';
font-weight: bold;
}
a.rvts9, span.rvts9
{
font-size: 11pt;
font-family: 'tahoma';
color: #0000ff;
text-decoration: underline;
}
span.rvts10
{
font-size: 8pt;
font-family: 'arial';
font-style: italic;
color: #c0c0c0;
}
a.rvts11, span.rvts11
{
font-size: 8pt;
font-family: 'arial';
color: #0000ff;
text-decoration: underline;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
text-align: center;
}
--></style>
</head>
<body>
<p>Доброе время суток!</p>
<p><br></p>
<p>Thursday, November 22, 2007, 7:00:53 PM, you wrote:</p>
<p><br></p>
<div><table border=0 cellpadding=1 cellspacing=2>
<tr valign=top>
<td width=12 style="background-color: #0000ff;">
<p><span class=rvts6>></span></p>
</td>
<td width=858 style="background-color: #ffffff;">
<p><span class=rvts7>логи смотрели? желательно debug </span></p>
<p><span class=rvts7>конфиг и логи покажите ... </span></p>
</td>
</tr>
</table>
</div>
<p><br></p>
<p>nginx.conf</p>
<p>user apache apache;</p>
<p>worker_processes 1;</p>
<p>pid /usr/local/nginx/logs/nginx.pid;</p>
<p>error_log /var/log/nginx/error_log debug;</p>
<p>worker_rlimit_nofile 8192;</p>
<p>events {</p>
<p> worker_connections 4096;</p>
<p> use epoll;</p>
<p>}</p>
<p>http {</p>
<p> include conf/mime.types;</p>
<p> default_type application/octet-stream;</p>
<p> upstream backend {</p>
<p> server localhost:8083;</p>
<p> }</p>
<p> client_header_timeout 3m;</p>
<p> client_body_timeout 3m;</p>
<p> client_max_body_size 10m;</p>
<p> send_timeout 3m;</p>
<p> client_header_buffer_size 8k;</p>
<p> large_client_header_buffers 4 4k;</p>
<p> gzip off;</p>
<p> gzip_min_length 1100;</p>
<p> gzip_buffers 4 8k;</p>
<p> gzip_comp_level 1;</p>
<p> gzip_proxied expired no-cache no-store private auth;</p>
<p> gzip_types text/plain application/xml application/x-javascript;</p>
<p> output_buffers 2 32k;</p>
<p> postpone_output 1460;</p>
<p> client_body_temp_path /tmp/nginx/client;</p>
<p>proxy_temp_path /tmp/nginx/proxy;</p>
<p> </p>
<p> sendfile on;</p>
<p> tcp_nopush on;</p>
<p> tcp_nodelay on;</p>
<p> keepalive_timeout 75 75; </p>
<p> log_format gzip '$remote_addr - $remote_user [$time_local] "$request" $status $bytes_sent "$http_referer" "$http_user_agent" "$gzip_ratio" "$request_time" "" ""';</p>
<p> error_log /var/log/nginx/error_log debug;</p>
<p> include conf/koi-win;</p>
<p> include conf/koi-utf;</p>
<p> include conf/win-utf;</p>
<p> source_charset windows-1251;</p>
<p> server {</p>
<p> listen 80 default;</p>
<p> server_name my_server;</p>
<p><br></p>
<p> access_log /var/log/nginx/access_log gzip;</p>
<p> error_log /var/log/nginx/error_log debug;</p>
<p><br></p>
<p> location / {</p>
<p> proxy_pass http://localhost:8083/;</p>
<p> proxy_set_header Host $host;</p>
<p> proxy_set_header X-Real-IP $remote_addr;</p>
<p> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</p>
<p> }</p>
<p><br></p>
<p> }</p>
<p><br></p>
<p>}</p>
<p><br></p>
<p><br></p>
<p>Конфиг я крутил по разным параметрам (таймауты, буферы).</p>
<p>Отладочный лог очень большой получается. Кладу в атач.</p>
<p><br></p>
<p><br></p>
<p><span class=rvts10>-- </span></p>
<p><span class=rvts10>С наилучшими пожеланиями,</span></p>
<p><span class=rvts10> Alexandr </span><a class=rvts11 href="mailto:kino@profy.com">mailto:kino@profy.com</a></p>
</body></html>