Hacker News new | ask | show | jobs
by stingraycharles 197 days ago
I think you’re severely underestimating the complexity of http/1.1. It’s definitely much simpler than http/2, but it’s a lot of code that needs to be maintained.
2 comments

To write the code from scratch, sure.

But I'm thinking a few lines of nginx config to proxy http 1.1 to 2

Nginx can't use http2 upstreams, some other reverse proxies can though.
Yes; the web server I use for my site is about twice the size of that blog post. Though, I think that if you drop the file-listing functionality you may be able to get it closer.