Hacker News new | past | comments | ask | show | jobs | submit login

Isn't it ironic that even the writers of this article don't follow these rules in the examples on that page?

There is "Mistake 3: Not Enabling Keepalive Connections to Upstream Servers", where it says:

    In the location{} block that forwards requests to an upstream group, include the following directives along with the proxy_pass directive:

    proxy_http_version 1.1;
    proxy_set_header   "Connection" "";
Then, at "Mistake 10: Not Taking Advantage of Upstream Groups", the "location" block does not include these two directives, even though the "upstream" block contains a "keepalive" directive.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: