In Chrome's DevTools Console i saw:
GET https://mysite/myasset.ico net::ERR_CONNECTION_CLOSED
When get my static assets. I started to dig/search a similar issue and find that the problem is not specific to Chrome and reproducible with Firefox. I've found that the combo of nginx + ssl + spdy + proxy_cache was the issue in a Chrome bug.
The problem is that SPDY connection is closed prematurely if proxy caching is used. As SPDY multiplex connections, if the connection is closed, all other transactions are lost.
This bug is fixed in nginx version 1.7.3 of nginx and on i will choose one of the following options:
- Upgrade nginx by using Debian backport (>= 1.9.10)
- Disable SPDY, as the protocol is superseded by HTTP/2 and i don't need for this for now (just a one shot test). Nginx 1.9.5 is the first release that implement HTTP/2.
Detail of nginx original bug https://trac.nginx.org/nginx/ticket/428Click to read and post comments