Welcome! Log In Create A New Profile

Advanced

nginx & PHP-FPM / Connection header

Posted by ErnestV 
nginx & PHP-FPM / Connection header
September 14, 2015 02:41PM
I have PHP-FPM running behind an nginx server. One PHP script needs to transmit data and continue some more or less lengthy processing, thus it flushes all buffers and sends a "Connection: Close" header.

However nginx converts this header to a keep-alive. Is there any method to tell nginx that the script really means it, without tampering with the nginx configuration (that I don't have access to)?

Found nothing on the net until now, at least nothing that worked.

Thanks for helping out, best regards,
Ernest
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 136
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready