<div dir="ltr">Hi,<div><br></div><div>I've got a problem when tried to proxy spdy traffic to host via https protocol.</div><div><br></div><div>My config is simple like that:</div><div><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">location /https/test {</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_set_header X-Real-IP $remote_addr;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_set_header Host $host;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_pass <a href="https://www.something.com/test">https://www.something.com/test</a>;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">}</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">When request is performed through HTTP protocol, everything works fine without any problem.</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">However, when incoming request is done through SPDY, there is no response from remote peer in about 10 seconds and connection is closed after that by client.</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">As a short term solution, I've found the following workaround in order to resolve the problem:</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">location /https/test {</p><p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_set_header X-Real-IP $remote_addr;</p><p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_set_header Host $host;</p><p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_pass <a href="http://localhost/internal/https/test">http://localhost/internal/https/test</a>;</p><p style="margin:0px;font-size:11px;font-family:Menlo">}</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">location /internal/https/test {</p><p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_set_header X-Real-IP $remote_addr;</p><p style="margin:0px;font-size:11px;font-family:Menlo">    proxy_pass <a href="https://www.something.com/test">https://www.something.com/test</a>;</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">











</p><p style="margin:0px;font-size:11px;font-family:Menlo">}</p><div><br></div><div>However, in a long term, it would be great to have this problem fixed in nginx and avoid any workaround in config files.</div><div><br></div><div>BR/ Yury</div><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p></div><div><br></div><div><br></div></div>