FastCGI KeepAlive

Olaf van der Spek nginx-forum at forum.nginx.org
Wed Jun 21 18:21:10 UTC 2017


This is what I've got:

upstream backend {
  server unix:/tmp/backend.socket;
  keepalive 99;
}

location /v2 {
	include fastcgi.conf;

	fastcgi_keep_conn on;
	# fastcgi_pass unix:/tmp/backend.socket;
	fastcgi_pass backend;
}

I checked with strace and it appeared to close the backend connection right
away. Perhaps I made a mistake, I'll check again.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275028,275035#msg-275035



More information about the nginx mailing list