Closed hdf closed 9 years ago
OK, found the problem. Nginx connects to the upstream server through http 1.0 SSL, not SPDY, so this is an nginx issue. There is no nginx configuration option for this. Nginx currently does not support SPDY for backends. So, no server push trough nginx reverse proxy.
No workaround?
nginx developer (Maxim Dounin) confirms, that there are no plans for nginx to support upstream http2: https://www.ruby-forum.com/topic/6873270#1170325 So the only "workaround" I see, is not to use nginx, if you want Server Push on your node app.
:+1: Thank you for the source.
As it says on the tin. I have successfully gotten my project to use server push, now I would like for this functionality to work trough an nginx reverse proxy. The problem is, that the
response
object doesn't have apush
property if connecting trough nginx. Is it supposed to be like that? Am I asking for the impossible?