Welcome! Log In Create A New Profile

Advanced

SPDY: nginx/1.6.2: proxy_pass does not work when https is used

Yury Kirpichev
December 15, 2014 03:06PM
Hi,

I've got a problem when tried to proxy spdy traffic to host via https
protocol.

My config is simple like that:


location /https/test {

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header Host $host;

proxy_pass https://www.something.com/test;

}


When request is performed through HTTP protocol, everything works fine
without any problem.

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.


As a short term solution, I've found the following workaround in order to
resolve the problem:


location /https/test {

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header Host $host;

proxy_pass http://localhost/internal/https/test;

}


location /internal/https/test {

proxy_set_header X-Real-IP $remote_addr;

proxy_pass https://www.something.com/test;

}

However, in a long term, it would be great to have this problem fixed in
nginx and avoid any workaround in config files.

BR/ Yury
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SPDY: nginx/1.6.2: proxy_pass does not work when https is used

Yury Kirpichev December 15, 2014 03:06PM

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

Valentin V. Bartenev December 15, 2014 07:20PM

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

unclepieman December 15, 2014 08:18PM

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

Yury Kirpichev December 16, 2014 03:50AM

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

Valentin V. Bartenev December 16, 2014 05:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready