<br><br><div class="gmail_quote">2010/11/9 Vladimir Rusinov <span dir="ltr">&lt;<a href="mailto:vladimir@greenmice.info">vladimir@greenmice.info</a>&gt;</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">А что в отладочном логе про редирект ?<br></blockquote><div><br></div></div><div>
Если собрано без дебага - ничего. Сейчас попробую собрать с дебагом, посмотрю.</div></div></blockquote><div><br></div><div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header:</div><div>&quot;GET / HTTP/1.0</div>
<div>Host: <a href="http://splunk.wrike.com:8000">splunk.wrike.com:8000</a></div><div>X-Real-IP: 91.204.22.9</div><div>X-Forwarded-For: 91.204.22.9</div><div>Connection: close</div><div>Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</div>
<div>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7</div><div>Accept-Encoding: gzip,deflate,sdch</div><div>Accept-Language: en-US,en;q=0.8,ru-RU;q=0.6,ru;q=0.4</div>
<div>Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3</div><div>Cookie: __utmz=193439723.1283187841.29.3.utmcsr=feedburner|utmccn=Feed:%20WrikeBlog%20(Wrike%20Blog)|utmcmd=feed; __utmx=193439723.; __utmxx=193439723.; __utma=193439723.1578913152.1283246862.1288345141.1289219304.13; session_id_8000=2a5ef837d995064c48ce071154d103457ff888eb</div>
<div><br></div><div>&quot;</div></div><div>&lt;...&gt;</div><div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 recv: fd:355 430 of 32768</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy status 302 &quot;302 Found&quot;</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header: &quot;Date: Tue, 09 Nov 2010 09:38:35 GMT&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header: &quot;Content-Length: 123&quot;</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header: &quot;Content-Type: text/html;charset=utf-8&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header: &quot;Location: <a href="http://splunk.wrike.com:8000/en-US/">http://splunk.wrike.com:8000/en-US/</a>&quot;</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header: &quot;Server: CherryPy/3.1.2&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header: &quot;Set-Cookie: session_id_8000=9415a7b9f0c34931c496d22cf309c1227ea36d80; expires=Wed, 10 Nov 2010 09:38:35 GMT; Path=/&quot;</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http proxy header done</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 uploadprogress error-tracker error: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 HTTP/1.1 302 Found</div>
<div>Server: nginx</div><div>Date: Tue, 09 Nov 2010 09:38:35 GMT</div><div>Content-Type: text/html;charset=utf-8</div><div>Connection: keep-alive</div><div>Content-Length: 123</div><div>Location: <a href="http://splunk.wrike.com:8000/en-US/">http://splunk.wrike.com:8000/en-US/</a></div>
<div>Set-Cookie: session_id_8000=9415a7b9f0c34931c496d22cf309c1227ea36d80; expires=Wed, 10 Nov 2010 09:38:35 GMT; Path=/</div><div><br></div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 write new buf t:1 f:0 000000000C3CC1E8, pos 000000000C3CC1E8, size: 322 file: 0, size: 0</div>
</div><div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 write new buf t:1 f:0 000000000C3CC1E8, pos 000000000C3CC1E8, size: 322 file: 0, size: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http write filter: l:0 f:0 s:322</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http cacheable: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http upstream process upstream</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe read upstream: 1</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe preread: 123</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 readv: 1:32338</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 readv() not ready (11: Resource temporarily unavailable)</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe recv chain: -2</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe buf free s:0 t:1 f:0 000000000EC35AB0, pos 000000000EC35BE3, size: 123 file: 0, size: 0</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe write downstream: 1</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe write busy: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe write: out:0000000000000000, f:0</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe read upstream: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe buf free s:0 t:1 f:0 000000000EC35AB0, pos 000000000EC35BE3, size: 123 file: 0, size: 0</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 event timer: 355, old: 1289295635405, new: 1289295635409</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 post event 000000000BF0CC20</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 post event 000000000BE6D880</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 delete posted event 000000000BE6D880</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http upstream request: &quot;/?&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http upstream dummy handler</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 delete posted event 000000000BF0CC20</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http upstream request: &quot;/?&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http upstream process upstream</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe read upstream: 1</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 readv: 1:32338</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe recv chain: 0</div><div>
2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe buf free s:0 t:1 f:0 000000000EC35AB0, pos 000000000EC35BE3, size: 123 file: 0, size: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 input buf #0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe write downstream: 1</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe write downstream flush in</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http output filter &quot;/?&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 copy filter: &quot;/?&quot;</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http postpone filter &quot;/?&quot; 000000000C3CC498</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 write old buf t:1 f:0 000000000C3CC1E8, pos 000000000C3CC1E8, size: 322 file: 0, size: 0</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 write new buf t:1 f:0 000000000EC35AB0, pos 000000000EC35BE3, size: 123 file: 0, size: 0</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 http write filter: l:0 f:0 s:445</div>
<div>2010/11/09 01:38:35 [debug] 15706#0: *11402 copy filter: 0 &quot;/?&quot;</div><div>2010/11/09 01:38:35 [debug] 15706#0: *11402 pipe write downstream done</div></div><div>&lt;....&gt;</div><div><br></div><div><br></div>
<div>Если сделать proxy_set_header  Host  $host:443:</div><div><br></div><div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header:</div><div>&quot;GET / HTTP/1.0</div><div>Host: <a href="http://splunk.wrike.com:443">splunk.wrike.com:443</a></div>
<div>Connection: close</div><div>Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</div><div>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7</div>
<div>Accept-Encoding: gzip,deflate,sdch</div><div>Accept-Language: en-US,en;q=0.8,ru-RU;q=0.6,ru;q=0.4</div><div>Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3</div><div>Cookie: __utmz=193439723.1283187841.29.3.utmcsr=feedburner|utmccn=Feed:%20WrikeBlog%20(Wrike%20Blog)|utmcmd=feed; __utmx=193439723.; __utmxx=193439723.; __utma=193439723.1578913152.1283246862.1288345141.1289219304.13; session_id_8000=9415a7b9f0c34931c496d22cf309c1227ea36d80</div>
<div><br></div><div>&quot;</div></div><div>&lt;...&gt;</div><div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy status 302 &quot;302 Found&quot;</div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header: &quot;Date: Tue, 09 Nov 2010 09:42:41 GMT&quot;</div>
<div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header: &quot;Content-Length: 121&quot;</div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header: &quot;Content-Type: text/html;charset=utf-8&quot;</div>
<div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header: &quot;Location: <a href="http://splunk.wrike.com:443/en-US/">http://splunk.wrike.com:443/en-US/</a>&quot;</div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header: &quot;Server: CherryPy/3.1.2&quot;</div>
<div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header: &quot;Set-Cookie: session_id_8000=d26c5c64bfc6b530c399d132c1bdfcc9c03dac43; expires=Wed, 10 Nov 2010 09:42:41 GMT; Path=/&quot;</div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 http proxy header done</div>
<div>2010/11/09 01:42:41 [debug] 15848#0: *29433 uploadprogress error-tracker error: 0</div><div>2010/11/09 01:42:41 [debug] 15848#0: *29433 HTTP/1.1 302 Found</div><div>Server: nginx</div><div>Date: Tue, 09 Nov 2010 09:42:41 GMT</div>
<div>Content-Type: text/html;charset=utf-8</div><div>Connection: keep-alive</div><div>Content-Length: 121</div><div>Location: <a href="http://splunk.wrike.com:443/en-US/">http://splunk.wrike.com:443/en-US/</a></div><div>Set-Cookie: session_id_8000=d26c5c64bfc6b530c399d132c1bdfcc9c03dac43; expires=Wed, 10 Nov 2010 09:42:41 GMT; Path=/</div>
</div><div>&lt;...&gt;</div><div><div>2010/11/09 01:42:42 [info] 15848#0: *29481 client sent plain HTTP request to HTTPS port while reading client request headers, client: 91.204.22.9, server: <a href="http://splunk.wrike.com">splunk.wrike.com</a>, request: &quot;GET /en-US/ HTTP/1.1&quot;, host: &quot;<a href="http://splunk.wrike.com:443">splunk.wrike.com:443</a>&quot;</div>
<div>2010/11/09 01:42:42 [debug] 15848#0: *29481 http finalize request: 497, &quot;/en-US/?&quot; 1</div><div>2010/11/09 01:42:42 [debug] 15848#0: *29481 event timer del: 272: 1289295822174</div><div>2010/11/09 01:42:42 [debug] 15848#0: *29481 http special response: 497, &quot;/en-US/?&quot;</div>
<div>2010/11/09 01:42:42 [debug] 15848#0: *29481 http set discard body</div><div>2010/11/09 01:42:42 [debug] 15848#0: *29481 uploadprogress error-tracker error: 400</div><div>2010/11/09 01:42:42 [debug] 15848#0: *29481 uploadprogress error-tracker not tracking in this location</div>
<div>2010/11/09 01:42:42 [debug] 15848#0: *29481 HTTP/1.1 400 Bad Request</div><div>Server: nginx</div><div>Date: Tue, 09 Nov 2010 09:42:42 GMT</div><div>Content-Type: text/html</div><div>Content-Length: 666</div><div>Connection: close</div>
</div><div><br></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">если сделать proxy_set_header  Host  $host - самое интересное.</div><div><br></div><div><div>&quot;GET / HTTP/1.0</div>
<div>Host: <a href="http://splunk.wrike.com">splunk.wrike.com</a></div><div>Connection: close</div><div>Cache-Control: max-age=0</div><div>Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</div>
<div>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7</div><div>Accept-Encoding: gzip,deflate,sdch</div><div>Accept-Language: en-US,en;q=0.8,ru-RU;q=0.6,ru;q=0.4</div>
<div>Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3</div><div>Cookie: __utmz=193439723.1283187841.29.3.utmcsr=feedburner|utmccn=Feed:%20WrikeBlog%20(Wrike%20Blog)|utmcmd=feed; __utmx=193439723.; __utmxx=193439723.; __utma=193439723.1578913152.1283246862.1288345141.1289219304.13; session_id_8000=d26c5c64bfc6b530c399d132c1bdfcc9c03dac43</div>
<div><br></div><div>&quot;</div></div><div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http upstream request: &quot;/?&quot;</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http upstream dummy handler</div><div>
2010/11/09 01:46:03 [debug] 15987#0: *44256 delete posted event 000000000BE6C2F8</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http upstream request: &quot;/?&quot;</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http upstream process header</div>
<div>2010/11/09 01:46:03 [debug] 15987#0: *44256 malloc: 000000000E7B0160:32768</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 recv: fd:310 415 of 32768</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy status 302 &quot;302 Found&quot;</div>
<div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header: &quot;Date: Tue, 09 Nov 2010 09:46:03 GMT&quot;</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header: &quot;Content-Length: 113&quot;</div>
<div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header: &quot;Content-Type: text/html;charset=utf-8&quot;</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header: &quot;Location: <a href="http://splunk.wrike.com/en-US/">http://splunk.wrike.com/en-US/</a>&quot;</div>
<div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header: &quot;Server: CherryPy/3.1.2&quot;</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header: &quot;Set-Cookie: session_id_8000=4aa43c5af2930599ba0fb3b261c7f0a2782d4bd4; expires=Wed, 10 Nov 2010 09:46:03 GMT; Path=/&quot;</div>
<div>2010/11/09 01:46:03 [debug] 15987#0: *44256 http proxy header done</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 uploadprogress error-tracker error: 0</div><div>2010/11/09 01:46:03 [debug] 15987#0: *44256 HTTP/1.1 302 Found</div>
<div>Server: nginx</div><div>Date: Tue, 09 Nov 2010 09:46:03 GMT</div><div>Content-Type: text/html;charset=utf-8</div><div>Connection: keep-alive</div><div>Content-Length: 113</div><div>Location: <a href="http://splunk.wrike.com/en-US/">http://splunk.wrike.com/en-US/</a></div>
<div>Set-Cookie: session_id_8000=4aa43c5af2930599ba0fb3b261c7f0a2782d4bd4; expires=Wed, 10 Nov 2010 09:46:03 GMT; Path=/</div></div><div>&lt;....&gt;</div><div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http script copy: &quot;Host: &quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http script var: &quot;<a href="http://splunk.wrike.com">splunk.wrike.com</a>&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http script copy: &quot;</div><div>
&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http script copy: &quot;Connection: close</div><div>&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Cache-Control: max-age=0&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Accept-Encoding: gzip,deflate,sdch&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Accept-Language: en-US,en;q=0.8,ru-RU;q=0.6,ru;q=0.4&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Cookie: __utmz=193439723.1283187841.29.3.utmcsr=feedburner|utmccn=Feed:%20WrikeBlog%20(Wrike%20Blog)|utmcmd=feed; __utmx=193439723.; __utmxx=193439723.; __utma=193439723.1578913152.1283246862.1288345141.1289219304.13; session_id_8000=4aa43c5af2930599ba0fb3b261c7f0a2782d4bd4&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header:</div><div>&quot;GET /en-US/ HTTP/1.0</div><div>Host: <a href="http://splunk.wrike.com">splunk.wrike.com</a></div><div>Connection: close</div><div>Cache-Control: max-age=0</div>
<div>Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</div><div>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7</div>
<div>Accept-Encoding: gzip,deflate,sdch</div><div>Accept-Language: en-US,en;q=0.8,ru-RU;q=0.6,ru;q=0.4</div><div>Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3</div><div>Cookie: __utmz=193439723.1283187841.29.3.utmcsr=feedburner|utmccn=Feed:%20WrikeBlog%20(Wrike%20Blog)|utmcmd=feed; __utmx=193439723.; __utmxx=193439723.; __utma=193439723.1578913152.1283246862.1288345141.1289219304.13; session_id_8000=4aa43c5af2930599ba0fb3b261c7f0a2782d4bd4</div>
<div><br></div><div>&quot;</div></div><div>&lt;...&gt;</div><div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy status 302 &quot;302 Found&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Content-Length: 130&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Content-Encoding: gzip&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Vary: Accept-Encoding&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Server: CherryPy/3.1.2&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Location: <a href="http://127.0.0.1:8000/en-US/account/login?return_to=%2Fen-US%2F">http://127.0.0.1:8000/en-US/account/login?return_to=%2Fen-US%2F</a>&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Date: Tue, 09 Nov 2010 09:46:05 GMT&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Content-Type: text/html;charset=utf-8&quot;</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header: &quot;Set-Cookie: session_id_8000=d121f2d4aafe7bb126562585a7af1c520e9f89cc; expires=Wed, 10 Nov 2010 09:46:05 GMT; Path=/&quot;</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 http proxy header done</div>
<div>2010/11/09 01:46:05 [debug] 15987#0: *44385 uploadprogress error-tracker error: 0</div><div>2010/11/09 01:46:05 [debug] 15987#0: *44385 HTTP/1.1 302 Found</div><div>Server: nginx</div><div>Date: Tue, 09 Nov 2010 09:46:05 GMT</div>
<div>Content-Type: text/html;charset=utf-8</div><div>Connection: keep-alive</div><div>Content-Length: 130</div><div>Content-Encoding: gzip</div><div>Vary: Accept-Encoding</div><div>Location: <a href="http://127.0.0.1:8000/en-US/account/login?return_to=%2Fen-US%2F">http://127.0.0.1:8000/en-US/account/login?return_to=%2Fen-US%2F</a></div>
<div>Set-Cookie: session_id_8000=d121f2d4aafe7bb126562585a7af1c520e9f89cc; expires=Wed, 10 Nov 2010 09:46:05 GMT; Path=/</div></div><div>&lt;...&gt;</div><div><br></div><div><br></div><div>Еще раз конифг:</div><div><br></div>
<div><div>server {</div><div>        listen <a href="http://10.10.0.30:443">10.10.0.30:443</a>;</div><div>        server_name <a href="http://splunk.wrike.com">splunk.wrike.com</a>;</div><div><br></div><div>        ssl                  on;</div>
<div>        ssl_certificate      /etc/nginx/ssl/wrike.crt;</div><div>        ssl_certificate_key  /etc/nginx/ssl/wrike.key;</div><div>        ssl_session_cache    shared:SSL:10m;</div><div>        ssl_session_timeout  10m;</div>
<div><br></div><div>        access_log  /var/log/nginx/splunk.access.log  my_combined;</div><div>        error_log /var/log/nginx/splunk.error.log debug;</div><div><br></div><div>        location / {</div><div>                proxy_set_header  Host  $host;</div>
<div>                proxy_pass    <a href="http://10.10.0.17:8000">http://10.10.0.17:8000</a>;</div><div>                proxy_redirect default;</div><div>        }</div><div>}</div><div>server {</div><div>        listen <a href="http://10.10.0.30:80">10.10.0.30:80</a>;</div>
<div>        server_name <a href="http://splunk.wrike.com">splunk.wrike.com</a>;</div><div><br></div><div>        access_log  /var/log/nginx/splunk.access.log  my_combined;</div><div>        error_log /var/log/nginx/splunk.error.log;</div>
<div><br></div><div>        rewrite (.*) <a href="https://splunk.wrike.com">https://splunk.wrike.com</a>$1 permanent;</div><div>}</div></div><div><br></div><div><div>nginx version: nginx/0.7.67</div><div>built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)</div>
<div>TLS SNI support disabled</div><div>configure arguments: --user=nginx --group=nginx --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --with-http_ssl_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --with-debug --with-cc-opt=&#39;-O2 -g -m64 -mtune=generic&#39; --add-module=/usr/src/redhat//BUILD/nginx-0.7.67/nginx-upstream-fair --add-module=/usr/src/redhat//BUILD/nginx-0.7.67/nginx_uploadprogress_module --add-module=/usr/src/redhat//BUILD/nginx-0.7.67/nginx_upload_module-2.0.10/</div>
</div></div><br>-- <br>Vladimir Rusinov<br><a href="http://greenmice.info/">http://greenmice.info/</a><br>