Nginx, and sendfile, tcp_nopush, keepalive_requests for PHP-FPM config question

Having this will help and optimize PHP-FPM?

location ~ \.php$ {
sendfile on;
tcp_nopush off;
keepalive_requests 0;

Similar Article: Please share your thoughts about this.

No one wants to share :slight_smile:

Hi @RoldanLT,

To optimize Nginx in better way, I will recomened you to use following settings

sendfile on;
tcp_nopush on;
tcp_nodelay on;

Although this settings will change as per your needs, So Its better if you go with this artical for more reading:

I’m not talking about nginx here, It’s specific for PHP-FPM.