nginx upstream keepalive

view full story

http://serverfault.com – I'm under the assumption that if I have an upstream connection, if I want a to set it to use keepalive, I need to do so in the upstream block. If I have the keepalive setting set outside of the upstream block (the block being between the brackets where the upstream is defined), is that keepalive used if I haven't set one in my upstream block? (HowTos)