Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
58
rated 0 times [  64] [ 6]  / answers: 1 / hits: 23874  / 11 Years ago, sun, june 9, 2013, 12:00:00

How do I let nginx close the tcp connection instantly after the request is fulfilled?


More From » php

 Answers
32

I just found the solution:



location /ip/ {
keepalive_timeout 0;
}

[#77728] Friday, June 7, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reed

Total Points: 725
Total Questions: 85
Total Answers: 89

Location: Singapore
Member since Sat, Jul 25, 2020
4 Years ago
;