This may be a bit difficult to explain but I will try my best: We have the following setup: [ BOX 1 : NGINX Frontend ] ---reverse-proxy---> [ BOX 2: NGINX Backend ---> PHP-FPM ] Upstream keepalives are enabled on BOX 1 as follows: upstream backend{ server 1.2.3.4; keepalive 512; } Keepalives are enabled on BOX 2 as follows: keepalivby anonymous-one - Nginx Mailing List - English
Before I begin, I should mention... I have never coded in C. But I think I should be able to pull this off. All the below is in relation to 1.3.4 source. So here goes: What I am trying to accomplish is adding server specific proxy_connect_timeout. Something along the lines of: upstream name{ name 1.1.1.1 connect_timeout=5; name 2.2.2.2 connect_timeout=10; } Like I saidby anonymous-one - How to...