Hello!
On Thu, Jun 22, 2017 at 10:23:01AM -0400, Olaf van der Spek wrote:
> Does nginx use / depend on FCGI_GET_VALUES?
No, it doesn't.
--
Maxim Dounin
http://nginx.org/
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo
Does nginx use / depend on FCGI_GET_VALUES?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,275028,275069#msg-275069
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Thanks!
I'll see if I can post the full response.
The implementation is custom indeed, but I am sending FCGI_END_REQUEST.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,275028,275067#msg-275067
___
nginx mailing list
nginx@nginx.org
http://
Hello!
On Thu, Jun 22, 2017 at 06:00:16AM -0400, Olaf van der Spek wrote:
> Note the connect(13, ...) and close(13) right after the response has been
> received.
> For PHP it's working, but AFAIK there's nothing in the FastCGI protocol that
> the backend has to do other then keeping the connecti
Note the connect(13, ...) and close(13) right after the response has been
received.
For PHP it's working, but AFAIK there's nothing in the FastCGI protocol that
the backend has to do other then keeping the connection open.
gettimeofday({tv_sec=1498125120, tv_usec=540583}, NULL) = 0
recvfrom(3, "G
On Wed, Jun 21, 2017 at 03:48:22PM -0400, Olaf van der Spek wrote:
Hi there,
> > proxy_pass http://backend;
>
> Is this an error in the docs? I think the http:// here isn't right.
proxy_pass can speak http or https. The config above is the way you tell
it which one to speak to this backend/upst
> proxy_pass http://backend;
Is this an error in the docs? I think the http:// here isn't right.
http://nginx.org/en/docs/http/ngx_http_upstream_module.html
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,275028,275038#msg-275038
___
nginx
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 clo
Hello!
On Wed, Jun 21, 2017 at 12:09:17PM -0400, Olaf van der Spek wrote:
> What does it take to enable KeepAlive for FastCGI upstream servers?
> I've set upstream { keepalive 99; } and location { fastcgi_keep_conn on; ]
> but nginx is still closing the connection after each request.
With FastCG