This evening I revisited said bug with fresh eyes and, as happens so often in
software development, quickly saw the mistake I had made: I had placed the SSL
configuration options outside of the server block for port 443.

Simply moving ssl on and company into the correct server block — the one for
port 443 — turned the http to https redirect test green.

Nginx, the fastest growing web server, has reached 33.3% market share. Seven years ago, it only had 3.9%. On average, every minute one of the top 10 million websites starts to use Nginx.

The telling statistic yielded by the research is that nearly 77% of all sites (including this one) supporting HTTP/2 run on Nginx. With Apache’s HTTP/2 module still classed “experimental”, and only around 13% of the Web using HTTP/2, Nginx seems destined to continue eating away at Apache’s popularity.