SPDY: nginx/1.6.2: proxy_pass does not work when https is used
Yury Kirpichev
ykirpichev at gmail.com
Mon Dec 15 20:05:03 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141216/b742f635/attachment.html>
More information about the nginx
mailing list