FastCGI KeepAlive

Olaf van der Spek nginx-forum at
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:,275028,275035#msg-275035

More information about the nginx mailing list