TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.37k stars 736 forks source link

Add tcp nodelay to config #96

Closed kroese closed 2 years ago

TrafeX commented 2 years ago

Hi @kroese,

Thank you for your contribution! I did a bit of research for this parameter to make sure it can't hurt anyone when we enable this by default. For those who are interested, checkout; https://www.netguru.com/blog/nginx-tutorial-performance & https://thoughts.t37.net/nginx-optimization-understanding-sendfile-tcp-nodelay-and-tcp-nopush-c55cdd276765

I agree that we can safely turn this on!