<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Here is full config, I tried to make it as small as possible.<br><br>worker_processes  12;<br><br>events {<br>    worker_connections  8192;<br>    use epoll;<br>}<br><br>http {<br>    server {<br>        listen [::]:6121 spdy;<br>        listen [::]:80;<br><br>        client_body_buffer_size 100k;<br>        client_max_body_size 100k;<br><br>        server_name *.<a href="http://maps.dev.yandex.net">maps.dev.yandex.net</a>;<br><br>        location /https/test {<br>            proxy_set_header X-Real-IP $remote_addr;<br>            proxy_set_header Host $host;<br>            proxy_pass <a href="https://www.google.com/test">https://www.google.com/test</a>;<br>        }<br>    }<br>}<br><br></div>Also, I've found that if I comment out line with worker_processes then problem will disappear.<br><br></div>Here is output from /usr/sbin/nginx  -V<br>nginx version: nginx/1.6.2<br>TLS SNI support enabled<br>configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-debug --with-http_addition_module --with-http_flv_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_image_filter_module --with-http_perl_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_spdy_module --with-http_sub_module --with-http_xslt_module --with-ipv6 --with-sha1=/usr/include/openssl --with-md5=/usr/include/openssl --with-mail --with-mail_ssl_module --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-echo --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-headers-more --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-development-kit --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-lua --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-upstream-fair --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-flv-filter --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-ip-tos-filter --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-addtag-exe --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-speedtest --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-eblob --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-request-id --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-favicon --add-module=/home/buildfarm/teamcity/projects/nginx-stable/debian/modules/nginx-auth-sign<br><br></div>Unfortunately, I can not collect debug logs right now.<br>However, I did captured tcpdump on server with nginx and was able to see that nginx established SSL connection with <a href="http://google.com">google.com</a>, however, after that it got stuck somewhere (can provide logs if you need it)<br><br></div>BR/ Yury<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-16 3:18 GMT+03:00 Valentin V. Bartenev <span dir="ltr"><<a href="mailto:vbart@nginx.com" target="_blank">vbart@nginx.com</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday 16 December 2014 00:05:03 Yury Kirpichev wrote:<br>
> Hi,<br>
><br>
> I've got a problem when tried to proxy spdy traffic to host via https<br>
> protocol.<br>
><br>
> My config is simple like that:<br>
><br>
><br>
> location /https/test {<br>
><br>
>     proxy_set_header X-Real-IP $remote_addr;<br>
><br>
>     proxy_set_header Host $host;<br>
><br>
>     proxy_pass <a href="https://www.something.com/test" target="_blank">https://www.something.com/test</a>;<br>
><br>
> }<br>
><br>
><br>
> When request is performed through HTTP protocol, everything works fine<br>
> without any problem.<br>
><br>
> However, when incoming request is done through SPDY, there is no response<br>
> from remote peer in about 10 seconds and connection is closed after that by<br>
> client.<br>
</span>[..]<br>
<br>
I can't reproduce the problem with your simple config.<br>
It just works in both cases with or w/o SPDY.<br>
<br>
Could you please provide more information like "nginx -V" output<br>
and debug log: <a href="http://nginx.org/en/docs/debugging_log.html" target="_blank">http://nginx.org/en/docs/debugging_log.html</a><br>
<br>
  wbr, Valentin V. Bartenev<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div></div>