http 2.0 support
Http 2.0 brings a bunch of performance improvements. Notably all resources from a host can be loaded over a single TCP connection which avoids a lot of overhead.
Apparently Hackage is fronted by nginx 1.14 which does support http2 see https://www.nginx.com/blog/nginx-1-9-5/#Moving-to-HTTP/2-with-NGINX 1.9.5
Happy to help if possible, although it looks like the nginx config is not in this repo.
overlaps with https://github.com/haskell/hackage-server/issues/787 -- sadly because some curl clients have http2 bugs they will attempt to use http2 and fail rather than use http1. Since buggy curl clients will likely stick around a long time, there's really no good timeframe to switch to http2 :-/